blender.git
9 years agoclear 2 warnings
Campbell Barton [Tue, 4 May 2010 05:30:17 +0000 (05:30 +0000)]
clear 2 warnings

9 years agoGreat patch by Harley Acheson fixing about 80 typos and spelling
Daniel Salazar [Tue, 4 May 2010 05:15:53 +0000 (05:15 +0000)]
Great patch by Harley Acheson fixing about 80 typos and spelling
mistakes in makesrna

9 years agoFix [#21353] Rendering h264 reports broken settings and fail.
Xavier Thomas [Tue, 4 May 2010 00:28:41 +0000 (00:28 +0000)]
Fix [#21353] Rendering h264 reports broken settings and fail.
Also silenced a warning.

9 years agoBGE Logics UI: commit to receive some feedback from Matt
Dalai Felinto [Tue, 4 May 2010 00:06:13 +0000 (00:06 +0000)]
BGE Logics UI: commit to receive some feedback from Matt

To test use debug mode > 0 (Ctrl+Alt+D)

* primarly the goal is to put all the bricks there, and then to worry about the proper layout
* sensor header added (need to be more compressed). Also checkbox will not work that well here in my opinion.
we need to see what can be used instead (icons?)
* sensors, and actuators in alphabetical order
* a lot of sensors using the rna (//XXXSENSOR in the ones not using it)

* the logic_window.c code for controller and actuator is there only to display the draw functions for controller and actuators. But the code it's a really bad copy of the sensor code, so it will be fixed later (Matt? :)

* I would love if the non-expanded mode were more compact, more like in 2.49 (the name non-editable).
but this is the kind of think we can worry in the end.
Also instead of "move up/move down" it would be nice to drag/drop the sensors/controllers/actuators

* to do: rna_actuators: to rename type to mode for the enum

9 years ago== Sequencer ==
Peter Schlaile [Mon, 3 May 2010 22:17:05 +0000 (22:17 +0000)]
== Sequencer ==

Added operator (and menu entry) to deinterlace all selected movie strips.
(does also walk into selected meta strips)

Also: small fix for multicam cutting tool (now works also within metas)

9 years agoadd missing include from recent commit
Campbell Barton [Mon, 3 May 2010 21:07:57 +0000 (21:07 +0000)]
add missing include from recent commit

9 years agomanually sync rigify with render branch
Campbell Barton [Mon, 3 May 2010 19:12:11 +0000 (19:12 +0000)]
manually sync rigify with render branch
fixes [#22231] Rigify Script Error When Generate From Human(Meta-Rig)

9 years agoDrag & drop from OS: set to accept any drop operation by default for now
Damien Plisson [Mon, 3 May 2010 17:02:49 +0000 (17:02 +0000)]
Drag & drop from OS: set to accept any drop operation by default for now

9 years agomerge multires changes into trunk
Joseph Eagar [Mon, 3 May 2010 16:06:36 +0000 (16:06 +0000)]
merge multires changes into trunk

9 years agomisc uninteresting stuff (killing time at airport commit)
Campbell Barton [Mon, 3 May 2010 16:00:42 +0000 (16:00 +0000)]
misc uninteresting stuff (killing time at airport commit)
- pep8 updates
- RNA_TwoDFilterActuator --> RNA_Filter2DActuator
- minor changes to conolse namespace init.

9 years agohave timeoffset use (int)floor(timeoffset+0.5f) when converting to an int to avoid...
Campbell Barton [Mon, 3 May 2010 15:56:44 +0000 (15:56 +0000)]
have timeoffset use (int)floor(timeoffset+0.5f) when converting to an int to avoid problems with nagative values.

9 years agosphinx doc generation
Campbell Barton [Mon, 3 May 2010 15:52:15 +0000 (15:52 +0000)]
sphinx doc generation
- include default values as well as min/max.
- partial rebuilds, so we dont have to build all docs each time, only the changed files.

9 years agomask modifier properly works in weightpaint and edit modes now. note that modifiers...
Joseph Eagar [Mon, 3 May 2010 10:09:26 +0000 (10:09 +0000)]
mask modifier properly works in weightpaint and edit modes now.  note that modifiers should not have to provide a applyModifierEM function, there's really no reason to not pull the result from applyModifier if applyModifierEM doesn't exist, it's not like we don't have a dozen *EM functions that do just that, anyway.  fixes 22192.  {merged 28543 into trunk}

9 years agoFix [#20999] Node Header icons drawn wrong
Matt Ebb [Mon, 3 May 2010 08:43:00 +0000 (08:43 +0000)]
Fix [#20999] Node Header icons drawn wrong

Would like to re-do this stuff properly at some stage...

9 years agoFix for renaming particle selection operators a little while ago
Matt Ebb [Mon, 3 May 2010 07:42:40 +0000 (07:42 +0000)]
Fix for renaming particle selection operators a little while ago

9 years agoUpdated icon set, thanks jendryzch!
Matt Ebb [Mon, 3 May 2010 03:33:20 +0000 (03:33 +0000)]
Updated icon set, thanks jendryzch!

9 years agoFix [#22199] Cloth Cache Panel > Disk Cache doesn't work
Matt Ebb [Mon, 3 May 2010 03:02:27 +0000 (03:02 +0000)]
Fix [#22199] Cloth Cache Panel > Disk Cache doesn't work

Condition for this to work (.blend file must be saved) was poorly communicated
in the UI (printfs are no good for this - ideally should use reports). Tweaked this a bit.

9 years agoFix [#22227] Unbinding calls bind operator
Matt Ebb [Mon, 3 May 2010 02:01:38 +0000 (02:01 +0000)]
Fix [#22227] Unbinding calls bind operator

Problem wasn't that the same operators was being called, just seems like the code wasn't updated after rev. 28376

9 years agoNetRender
Martin Poirier [Sun, 2 May 2010 21:34:08 +0000 (21:34 +0000)]
NetRender

Repath functionality: Edit paths in blend file on slaves to match the transfered files.
Tested with textures and point caches. Fluid should work. Point Caches with the External option might not.

This should fix previous problems when using absolute paths in blend files.

9 years ago== Sequencer ==
Peter Schlaile [Sun, 2 May 2010 17:36:38 +0000 (17:36 +0000)]
== Sequencer ==

Made Multicam-Editing really work:
* added a panel within N-keys, so that one can start/stop playback
  and cut between cameras directly from the panel
* made "active_strip" RNA editable, to make that work correctly
  (is usefull anyways :) )

9 years agoTweaked Cache panels to make them clearer, simpler, and added single column UI.
William Reynish [Sun, 2 May 2010 14:34:37 +0000 (14:34 +0000)]
Tweaked Cache panels to make them clearer, simpler, and added single column UI.

9 years agoAdd read-only property to check if any duplis are used. Without this, ob.create_dupli...
Daniel Genrich [Sun, 2 May 2010 13:48:32 +0000 (13:48 +0000)]
Add read-only property to check if any duplis are used. Without this, ob.create_dupli_list(scene) crashes when no duplis are on the object. We cannot use  duply_type !='NONE' because for non rna dupli types like dupli_particles, it fails. And some dupli types, we don't want to have in rna

9 years agoPut ray mirror Fade To color next to Max Distance. Grayed out Fade To if
Daniel Salazar [Sun, 2 May 2010 04:40:44 +0000 (04:40 +0000)]
Put ray mirror Fade To color next to Max Distance. Grayed out Fade To if
Distance is 0

9 years ago[#22211] Sending single frame job to netrender
Martin Poirier [Sat, 1 May 2010 20:39:04 +0000 (20:39 +0000)]
[#22211] Sending single frame job to netrender

Patch by Jeroen Bakker

9 years agoshould make problems mentioned in
Peter Schlaile [Sat, 1 May 2010 16:02:59 +0000 (16:02 +0000)]
should make problems mentioned in

[#19221] Sequencer animation curves not converted correctly from 2.4

go away.

9 years agoSecond round of sequencer IPO-conversion to new animation system:
Peter Schlaile [Sat, 1 May 2010 15:17:30 +0000 (15:17 +0000)]
Second round of sequencer IPO-conversion to new animation system:
* now non-frame-locked IPOs work, too.

9 years agoFirst round of importing old sequencer IPOs to new animation system:
Peter Schlaile [Sat, 1 May 2010 14:09:45 +0000 (14:09 +0000)]
First round of importing old sequencer IPOs to new animation system:
* Frame locked IPOs work now

TODO: non-frame-locked ones :)

9 years agoFixed version patching for unique sequencer names:
Peter Schlaile [Sat, 1 May 2010 12:39:06 +0000 (12:39 +0000)]
Fixed version patching for unique sequencer names:
now iteration over all strips (including meta strips) works correctly.

9 years ago== Sequencer ==
Peter Schlaile [Sat, 1 May 2010 11:51:56 +0000 (11:51 +0000)]
== Sequencer ==

Since prefetch rendering in sequencer is currently disabled,
seq_thread_shutdown should be always TRUE for now.

9 years agoFix [#22202] Box Selecting bones does not update animation windows
Matt Ebb [Fri, 30 Apr 2010 07:22:07 +0000 (07:22 +0000)]
Fix [#22202] Box Selecting bones does not update animation windows

9 years agofix for exporting a rig to a graph
Campbell Barton [Fri, 30 Apr 2010 05:45:02 +0000 (05:45 +0000)]
fix for exporting a rig to a graph

9 years agoHighlight last selected point in curve/surface edit mode.
Sergey Sharybin [Fri, 30 Apr 2010 04:48:40 +0000 (04:48 +0000)]
Highlight last selected point in curve/surface edit mode.

Curve->lastselbp field was renamed to Curve->lastsel and now not last
either BPoint or BezTriple is storing here. It's not easy to determine
type of selected point, but operator which depends on such point reviews
the full nurbs, so this shouldn't be a problem.

Made changes to curve undo stuff to restore last selected point on undo/redo.

Added new theme color for curve last selected point.

9 years agoFix [#22207] Selecting Roots also selects hidden
Matt Ebb [Fri, 30 Apr 2010 01:22:21 +0000 (01:22 +0000)]
Fix [#22207] Selecting Roots also selects hidden

9 years agoBugfix #22201: NLA 'freeze' icon does not match box
Joshua Leung [Thu, 29 Apr 2010 23:29:50 +0000 (23:29 +0000)]
Bugfix #22201: NLA 'freeze' icon does not match box

When the channel list in the NLA Editor was resized, the 'freeze' icon on Action Lines stayed put due to a relic from older code.

9 years agoRemoved unused code from yesterday
Matt Ebb [Thu, 29 Apr 2010 23:24:31 +0000 (23:24 +0000)]
Removed unused code from yesterday

9 years agoSuggestion by Florian Meyer (testscreenings) to change default ramp to
Daniel Salazar [Thu, 29 Apr 2010 23:15:03 +0000 (23:15 +0000)]
Suggestion by Florian Meyer (testscreenings) to change default ramp to
RGBA 0000 - RGBA 1111 (no more cyan)

9 years agouse size_t for MEM_allocN_len as well as some of its callers
Campbell Barton [Thu, 29 Apr 2010 21:46:25 +0000 (21:46 +0000)]
use size_t for MEM_allocN_len as well as some of its callers

9 years agoAmendment to r28508 (Make Blender malloc be 64 bit ready)
Nathan Letwory [Thu, 29 Apr 2010 19:41:12 +0000 (19:41 +0000)]
Amendment to r28508 (Make Blender malloc be 64 bit ready)
- one function missed in header causes compile problems (intern/guardedalloc/intern/mallocn.c:352: error: conflicting types for ‘MEM_mapallocN’)

9 years ago[#22133] File Browser Mismatches File Name and Thumbnail
Andrea Weikert [Thu, 29 Apr 2010 18:53:01 +0000 (18:53 +0000)]
[#22133] File Browser Mismatches File Name and Thumbnail
* sorting of file list interfered with thumbnail order, stopping job while sorting now.

9 years ago== MSVC 9 projectfiles ==
Andrea Weikert [Thu, 29 Apr 2010 18:46:43 +0000 (18:46 +0000)]
== MSVC 9 projectfiles ==
small update

9 years agomissed this in recent api edits
Campbell Barton [Thu, 29 Apr 2010 18:40:33 +0000 (18:40 +0000)]
missed this in recent api edits

9 years agoNULL check for pointcache. not sure this should be fixed elsewhere, commented this...
Campbell Barton [Thu, 29 Apr 2010 17:57:17 +0000 (17:57 +0000)]
NULL check for pointcache. not sure this should be fixed elsewhere, commented this needs further checking.

9 years agoMake Blender malloc wrapper be 64 bit ready.
Guillermo S. Romero [Thu, 29 Apr 2010 17:34:40 +0000 (17:34 +0000)]
Make Blender malloc wrapper be 64 bit ready.

9 years agoSVN maintenance.
Guillermo S. Romero [Thu, 29 Apr 2010 17:07:17 +0000 (17:07 +0000)]
SVN maintenance.

9 years agooption to copy constraints without making their ID references direct links.
Campbell Barton [Thu, 29 Apr 2010 15:31:53 +0000 (15:31 +0000)]
option to copy constraints without making their ID references direct links.
needed because proxies are causing libs to be linked directly when they should be kept indirect (likely slowing load times though I didnt time this)

9 years agoselect linked options, Library and Library ObData
Campbell Barton [Thu, 29 Apr 2010 14:44:39 +0000 (14:44 +0000)]
select linked options, Library and Library ObData

9 years agoadd missing header
Campbell Barton [Thu, 29 Apr 2010 07:06:00 +0000 (07:06 +0000)]
add missing header

9 years agoRewrite of Logic editor UI to use layout engine
Matt Ebb [Thu, 29 Apr 2010 07:01:48 +0000 (07:01 +0000)]
Rewrite of Logic editor UI to use layout engine

This commit puts the ground work in place, swapping out the crusty old Logic Editor
UI code for the new RNA-based layout engine. It's disabled with ifdefs at the moment
because it's incomplete, but Dalai can now do the grunt work to fill it all out and get it running.

Also includes a bug fix to LINK buttons, and two new logic operators to add and delete sensors.

Dalai, just switch the #if 0 and #if 1 in logic_window.c:3412 and 3469

9 years agoSet all brushes default distance
Daniel Salazar [Thu, 29 Apr 2010 06:42:31 +0000 (06:42 +0000)]
Set all brushes default distance
Edit mode back geometry occlusion on
Render size to %100 (%25 default is confusing)
Allow negative frames disabled by default (the use cases of this are
very few for it to be on by default)

9 years agoNewly created brushes will have a lower spacing. Still need to fix some
Daniel Salazar [Thu, 29 Apr 2010 05:20:24 +0000 (05:20 +0000)]
Newly created brushes will have a lower spacing. Still need to fix some
of the default brushes

9 years agofix for [#22195] Empty Size minimum limit too big (patch by Bassam Kurdali - slikdigi...
Dalai Felinto [Wed, 28 Apr 2010 21:18:40 +0000 (21:18 +0000)]
fix for [#22195] Empty Size minimum limit too big (patch by Bassam Kurdali - slikdigit) with small change
(ui range precision to 2 instead of 4, since 4 doesn't seem to work here).

From the tracker:
"""
The smallest size allowed for empty_draw_size is 0.1. This is un-necessarily limiting and, depending on the scene, much
too large resulting in visual confusion in the 3D View.
Opening old files initially results in small empties, but when you click on them they 'grow' to the new minimum. This
seems to show that previous blender versions didn't have this bug.
Please remove the limitation, or, if needed, make it a much smaller number, so that empties are easier to see and distinguish from one another in small scenes/setups
"""

9 years agofix for crash on loading some nodes.
Campbell Barton [Wed, 28 Apr 2010 18:13:03 +0000 (18:13 +0000)]
fix for crash on loading some nodes.

9 years agopin and driver id pointers were adding user references from rna but not on file load.
Campbell Barton [Wed, 28 Apr 2010 11:05:11 +0000 (11:05 +0000)]
pin and driver id pointers were adding user references from rna but not on file load.
removing a reference to either could remove the object/data from the scene.
use set functions to avoid refcounting.

9 years agopatch 21737 by Elia Sarti (vekoon)
Daniel Salazar [Wed, 28 Apr 2010 09:29:17 +0000 (09:29 +0000)]
patch 21737 by Elia Sarti (vekoon)

Currently for ColorBands, when pressing the Add button, new elements are
set with a medium gray in a medium position which often is not desired
behaviour.

This patch when possible sets new elements as averaged values between
the current element and its preceding neighbour

9 years agoreverting 28469, there is no use in using a long, while the allocation functions...
Campbell Barton [Wed, 28 Apr 2010 08:15:26 +0000 (08:15 +0000)]
reverting 28469, there is no use in using a long, while the allocation functions only accepts an int.
- only wastes 4 bytes per alloc.
Also would be most correct to use size_t

9 years agoadd option -Y to enable python script execution.
Campbell Barton [Wed, 28 Apr 2010 08:02:51 +0000 (08:02 +0000)]
add option -Y to enable python script execution.

9 years agoManipulator combo was a bit too much cluthering for default, reverting
Daniel Salazar [Wed, 28 Apr 2010 07:36:47 +0000 (07:36 +0000)]
Manipulator combo was a bit too much cluthering for default, reverting
that. Enabled grease pencil smooth stroke

9 years ago3dview --> view3d, patch by Jonathan Smith with small corrections and changes.
Campbell Barton [Wed, 28 Apr 2010 07:25:39 +0000 (07:25 +0000)]
3dview --> view3d, patch by Jonathan Smith with small corrections and changes.

9 years ago- Increased default 3D View clipping
Daniel Salazar [Wed, 28 Apr 2010 06:46:44 +0000 (06:46 +0000)]
- Increased default 3D View clipping
- Default cube properly selected
- Using transform manipulator combo (loc/rot/size)
- Default sculpt brush spacing was too wide (jagged strokes)

9 years agoTweaking of default preferences: Playback FPS on, larger miniaxis, bit
Daniel Salazar [Wed, 28 Apr 2010 06:18:16 +0000 (06:18 +0000)]
Tweaking of default preferences: Playback FPS on, larger miniaxis, bit
faster smoothview, third scene lamp ON (shading looked completly dark
from below)

9 years agoNetRender:
Martin Poirier [Wed, 28 Apr 2010 01:54:12 +0000 (01:54 +0000)]
NetRender:
- multires cache files and image .tex cache support in dependency list
- Compare md5 of files before using a local copy (not one transfered by netrender). Could be changed to a simpler CRC if speed is an issue. The goal is not to have a strong crypto signature but just to detect outdated local files.
- Reduce slave timeout to 5 minutes (down from 30). Slaves should report at most every 30s, there's no reason for a value to be that high.
- Reorder the presentation tables on the main web page (job list is more important)
- Collapse dependency list by default on job page (only show main file and headers for other files, point cache and fluid cache)
- Slave option (default: True) to also output render log to the console (as well as the usual copy to the master)

9 years agouser modules were not loading in background mode.
Campbell Barton [Tue, 27 Apr 2010 21:01:24 +0000 (21:01 +0000)]
user modules were not loading in background mode.

9 years agoupdate for changes to blf module
Campbell Barton [Tue, 27 Apr 2010 19:46:15 +0000 (19:46 +0000)]
update for changes to blf module

9 years agoremove redundant argument from mathutils callbacks
Campbell Barton [Tue, 27 Apr 2010 19:21:36 +0000 (19:21 +0000)]
remove redundant argument from mathutils callbacks

9 years agooversight in recent mathutils update. obj.matrix = obj.matrix would call its own...
Campbell Barton [Tue, 27 Apr 2010 18:55:25 +0000 (18:55 +0000)]
oversight in recent mathutils update. obj.matrix = obj.matrix would call its own updage callbacks until it crashed.

9 years agoMake len portable (as best as can tested with a 32 bit machine).
Guillermo S. Romero [Tue, 27 Apr 2010 18:21:49 +0000 (18:21 +0000)]
Make len portable (as best as can tested with a 32 bit machine).

9 years agofix for allocations over 2gig crashing blender (even on 64 bit systems)
Campbell Barton [Tue, 27 Apr 2010 15:46:58 +0000 (15:46 +0000)]
fix for allocations over 2gig crashing blender (even on 64 bit systems)
the memheader len would wrap to a negative number and when freeing it would write into the memheader.

9 years agofix for error in decleration order
Campbell Barton [Tue, 27 Apr 2010 13:22:43 +0000 (13:22 +0000)]
fix for error in decleration order

9 years agoFix [#22173] Texture nodes update every mouse click
Matt Ebb [Tue, 27 Apr 2010 11:09:52 +0000 (11:09 +0000)]
Fix [#22173] Texture nodes update every mouse click

Notifier tweaks

9 years agofactor for setting particle weights
Campbell Barton [Tue, 27 Apr 2010 09:54:36 +0000 (09:54 +0000)]
factor for setting particle weights

9 years agoText button with search icon now updates "live", like in outliner.
Ton Roosendaal [Tue, 27 Apr 2010 09:07:26 +0000 (09:07 +0000)]
Text button with search icon now updates "live", like in outliner.

9 years agofixes for euler order setting when the rotation mode is not euler.
Campbell Barton [Tue, 27 Apr 2010 07:50:31 +0000 (07:50 +0000)]
fixes for euler order setting when the rotation mode is not euler.

9 years agoFix [#22165] "Camera:" field of the Properties>View panel (3D View) has no function...
Matt Ebb [Tue, 27 Apr 2010 06:47:12 +0000 (06:47 +0000)]
Fix [#22165] "Camera:" field of the Properties>View panel (3D View) has no function & is confusing

Cleaned up UI, made it a bit clearer

9 years agoNetRender tweaks by Brecht
Martin Poirier [Tue, 27 Apr 2010 03:14:40 +0000 (03:14 +0000)]
NetRender tweaks by Brecht

* Client connection is made from panel poll functions even if
netrender is disabled
* Network render slave should print when it has connected to server,
now it says "node initiation", I initially thought this meant it was
not connected yet.
* Web interface should auto-refresh, I got confused if job and slaves
were actually found or not.

9 years ago[#21753] allowing to compile on FreeBSD 8.0
Campbell Barton [Mon, 26 Apr 2010 21:28:50 +0000 (21:28 +0000)]
[#21753] allowing to compile on FreeBSD 8.0
patch on libopenjpeg

9 years agobugfix [#22163] Add->mesh->torus is broken
Campbell Barton [Mon, 26 Apr 2010 21:25:14 +0000 (21:25 +0000)]
bugfix [#22163] Add->mesh->torus is broken
recent commit broke this, missed changing double to float.

9 years agopy/rna, euler objects order is now wrapped correctly...
Campbell Barton [Mon, 26 Apr 2010 21:04:42 +0000 (21:04 +0000)]
py/rna, euler objects order is now wrapped correctly...

eg:
 eul = bpy.context.object.rotation_euler
 eul.order = 'XZY' # will update the objects setting.

9 years agoAdd missing null check solving crash on texture panel, also fix possible 'freeing...
Daniel Genrich [Mon, 26 Apr 2010 20:30:13 +0000 (20:30 +0000)]
Add missing null check solving crash on texture panel, also fix possible 'freeing NULL' because of misplaced MEM_freeN() in that context.

9 years agoTwo bugfixes from the render branch:
Brecht Van Lommel [Mon, 26 Apr 2010 12:50:48 +0000 (12:50 +0000)]
Two bugfixes from the render branch:
* Fix for FSA update while rendering fix, should set float rect to NULL.
* Fix for irradiance cache mutex unlock that got lost in code changes.

9 years agoOutliner Filtering Bugfix:
Joshua Leung [Mon, 26 Apr 2010 10:31:09 +0000 (10:31 +0000)]
Outliner Filtering Bugfix:

Campbell's changes to make this use fnmatch by default had the case-sensitivity setting inverted. This meant that convenient searches in lowercase were no longer possible by default.

9 years agoFix #22086 and #22125: crashes due to editmode being set on load/undo, fixes
Brecht Van Lommel [Mon, 26 Apr 2010 10:12:03 +0000 (10:12 +0000)]
Fix #22086 and #22125: crashes due to editmode being set on load/undo, fixes
are simple enough, though may still revert this feature if it turns out there
are more problems.

9 years agoProper fix for the Grease Pencil drawing options
Joshua Leung [Mon, 26 Apr 2010 10:02:30 +0000 (10:02 +0000)]
Proper fix for the Grease Pencil drawing options

9 years agoSome work on the cluthered particles UI; lot's more to do
Daniel Salazar [Mon, 26 Apr 2010 09:33:59 +0000 (09:33 +0000)]
Some work on the cluthered particles UI; lot's more to do

9 years agoGot tired of the heavily compressed armature layer icons. Also added
Daniel Salazar [Mon, 26 Apr 2010 08:55:14 +0000 (08:55 +0000)]
Got tired of the heavily compressed armature layer icons. Also added
a smart wide/narrow UI conversion

http://www.pasteall.org/pic/show.php?id=2940

9 years agoCleanup of grease pencil UI. Ali can you check if what I did in
Daniel Salazar [Mon, 26 Apr 2010 08:05:04 +0000 (08:05 +0000)]
Cleanup of grease pencil UI. Ali can you check if what I did in
gpencil_buttons.c is ok? it was graying out two buttons that shoudn't
have

9 years agoAssorted code cleanups:
Joshua Leung [Mon, 26 Apr 2010 06:35:25 +0000 (06:35 +0000)]
Assorted code cleanups:
* Removed some un-needed armature code stubs
* Manually copying over the values of constraints in the constraint copy() callbacks should NOT be needed. Removed this from the Spline IK constraint. The manual process is only a hacky aspect of the modifier stack only!

9 years agoBugfix [#22069] Speed-Ipos are not imported correctly from 2.49 to 2.5
Joshua Leung [Mon, 26 Apr 2010 06:33:04 +0000 (06:33 +0000)]
Bugfix [#22069] Speed-Ipos are not imported correctly from 2.49 to 2.5

- IPO-blocks for curves were not getting handled correctly (i.e. no conversion and relinking was taking place) when converting from 2.4x to 2.5
- Old 'speed' IPO's now have their values multiplied by the path length when they are loaded from old 2.4x files so that they work correctly in 2.5.

Also...
- Cleaned up a few instances of scruffy code formatted in some weird ad-hoc way.
- Debug prints for the start/end of the file conversion process are now all hidden behind debug-only checks. Unless the way the conversions are done is significantly changed at some point, this should be sufficient...

9 years agoAdd operator undo flags to text datablock related operators
Matt Ebb [Mon, 26 Apr 2010 04:49:33 +0000 (04:49 +0000)]
Add operator undo flags to text datablock related operators

9 years agoPass constraint names as operator properties in constraint operators
Matt Ebb [Mon, 26 Apr 2010 03:42:38 +0000 (03:42 +0000)]
Pass constraint names as operator properties in constraint operators

This is similar to commit revision 22078, but for constraint operators rather
than modifiers, making it possible to use them from scripting.

9 years agoFix [#22160] blender 2.5 alpha2 can't open file grass.blend from blenderguru
Matt Ebb [Mon, 26 Apr 2010 02:23:13 +0000 (02:23 +0000)]
Fix  [#22160] blender 2.5 alpha2 can't open file grass.blend from blenderguru

Textures were being called with multitex_ext with osatex enabled, but NULL derivates.
Fixed this for texture effectors and a couple of other places.

9 years agorna/python mathutils module
Campbell Barton [Sun, 25 Apr 2010 23:33:09 +0000 (23:33 +0000)]
rna/python mathutils module
- return euler rotation values from rna now have correct rotation order.
- mathutils.Euler stored rotation order off by 1. (didnt work at all)
- Euler/Quat/Color sliceing working again.

9 years agohash function for property-rna. eg. hash(bpy.context.object.modifiers)
Campbell Barton [Sun, 25 Apr 2010 21:13:42 +0000 (21:13 +0000)]
hash function for property-rna. eg. hash(bpy.context.object.modifiers)

9 years ago[#22151] Modifier UI crash
Campbell Barton [Sun, 25 Apr 2010 19:56:43 +0000 (19:56 +0000)]
[#22151] Modifier UI crash
own error when editing context return values. r28401

9 years agopy api
Campbell Barton [Sun, 25 Apr 2010 19:27:59 +0000 (19:27 +0000)]
py api
- mathutils.Color.hsv attribute. eg. material.diffuse_color.hsv = 0.2, 0.8, 0.4
- Vector/Euler/Quaternion/Color now only take a single seq arg.
- internal function for parsing arrays. (cleanup messy internal list/vector/tuple/seq parsing)
- didnt update rigify yet.

9 years ago== Sequencer ==
Peter Schlaile [Sun, 25 Apr 2010 15:39:04 +0000 (15:39 +0000)]
== Sequencer ==

Forgot some changes for multicam support.

9 years agocorrect typo's
Campbell Barton [Sun, 25 Apr 2010 15:24:18 +0000 (15:24 +0000)]
correct typo's

9 years agopy console autocomp. fix
Campbell Barton [Sun, 25 Apr 2010 15:21:46 +0000 (15:21 +0000)]
py console autocomp. fix
 import missing_mod
...would raise an error.

9 years agobugfix [#22117] Memory Error messages with Spline IK
Campbell Barton [Sun, 25 Apr 2010 13:27:52 +0000 (13:27 +0000)]
bugfix [#22117] Memory Error messages with Spline IK
chainlen was initialized as 0

9 years ago== Sequencer ==
Peter Schlaile [Sun, 25 Apr 2010 12:53:39 +0000 (12:53 +0000)]
== Sequencer ==

This adds MULTICAM-editing support for blender. (Well, the beginning of.)

There is now a new effect track, named MULTICAM, which just selects
one of the lower tracks.

Doesn't sound that exciting, but if you combine this with A/B-Trim (moving
split points of two directly connected tracks around, while magically
resizing both strips, something to be added), you just do:

* add several tracks for your camera angles
* (optionally) sync those tracks
* add one multicam track on top

Use that multicam-track to edit your movie. (Either using fcurves on the
multicam source selector or using knife-tool and A/B-Trim.)

Compare that to:

* add several tracks
* add cross fades between them
* do some python scripting to add several fcurves to make that beast
  somewhat work.
* cry out loud, using it, if you have to move cut points around

Alternatively, even harder:

* just edit the old way and put strip after strip

You might think, that this isn't really helpfull for animators, but
consider using scene-strips (in OpenGL-mode) for input, that are set for
different camera angles and can now be intercut a lot more easily...

Also: small fix on the way: the speed effect can now be used in cascade.
(Don't know, if anyone used it that way, but now it works.)

9 years agoFix #22123 and #22124: some problems with mutex locks, also tweak to
Brecht Van Lommel [Sun, 25 Apr 2010 10:49:13 +0000 (10:49 +0000)]
Fix #22123 and #22124: some problems with mutex locks, also tweak to
how removing opengl textures from outside main thread is done so it
happens as part of the main loop.