Campbell Barton [Wed, 16 Dec 2009 16:35:31 +0000 (16:35 +0000)]
have sequence strip rna not depend on the current editing sequencer context (TODO- rename)
Campbell Barton [Wed, 16 Dec 2009 13:27:30 +0000 (13:27 +0000)]
pep8 changes
Matt Ebb [Wed, 16 Dec 2009 10:13:26 +0000 (10:13 +0000)]
First version of updated key map editor UI (in User Preferences)
Now the key maps are displayed in a hierarchical list which you can
browse through. As well as in the main list, modal key maps are also
available in context, for example, if you unfold out a Transform key
map item, you'll be able to fold out and access its modal key map underneath.
More work to do, including search, better operator browsing, etc.
Still need to revise the ordering/hierarchy and clean up naming to be
consistent too, it's a bit of an 'evolved' mess right now.
Thanks to theeth for some initial work here too.
Campbell Barton [Tue, 15 Dec 2009 23:35:26 +0000 (23:35 +0000)]
Solidify was faiing in cases with flat aras because normal calculation assumed some angle between faces.
Campbell Barton [Tue, 15 Dec 2009 18:53:16 +0000 (18:53 +0000)]
- original bones in last layer
- dont rename root bone
- use Rigify exceptions
Brecht Van Lommel [Tue, 15 Dec 2009 18:15:38 +0000 (18:15 +0000)]
Bugfix: weight paint combined with pose mode was not working correct
in some cases, setting active vertex group to invalid value.
Martin Poirier [Tue, 15 Dec 2009 18:09:01 +0000 (18:09 +0000)]
netrender
buttons to cancel and reset jobs in the web interface
Brecht Van Lommel [Tue, 15 Dec 2009 18:00:22 +0000 (18:00 +0000)]
Fix #20393: subsurfed objects only allow a single material.
Andrea Weikert [Tue, 15 Dec 2009 17:53:17 +0000 (17:53 +0000)]
fix: adding missing new area type RGN_TYPE_PREVIEW to rna enum.
William Reynish [Tue, 15 Dec 2009 14:22:34 +0000 (14:22 +0000)]
Slight reorganization of user preferences. I've switched out the clunky use of splits with percentages and used simple rows instead.
Campbell Barton [Tue, 15 Dec 2009 11:27:46 +0000 (11:27 +0000)]
* rna attributes for sequence strips - seq.start_frame_final & seq.end_frame_final
these expose the final start and end after offsets are applied. when set this is like grabbing the handle and moving it.
* made swapping strips shuffle effects and check for overlap.
Joshua Leung [Tue, 15 Dec 2009 10:46:19 +0000 (10:46 +0000)]
Small Durian Request for animation editors:
Assigned borderselect for animation channels to LMB-tweak too, so it is now possible to select a bunch of channels by simply click-dragging.
Campbell Barton [Tue, 15 Dec 2009 10:35:50 +0000 (10:35 +0000)]
animation system wasnt being updated when rendering with the sequencer
Campbell Barton [Tue, 15 Dec 2009 10:04:54 +0000 (10:04 +0000)]
* made seqence swap into 1 operator with left/right enum option
* allow sequence swapping even when the strip has an effect
* only recalc the effect when its needed
Campbell Barton [Tue, 15 Dec 2009 09:39:46 +0000 (09:39 +0000)]
utility functions for getting the corner angles of a quad or tri: angle_quad_v3 & angle_tri_v3
Martin Poirier [Tue, 15 Dec 2009 03:25:26 +0000 (03:25 +0000)]
netrender:
Add button to start Slaves and Master when in that mode (it's only calling render animation)
Campbell Barton [Tue, 15 Dec 2009 01:03:05 +0000 (01:03 +0000)]
number button precission was far too low, description also bit.
Campbell Barton [Tue, 15 Dec 2009 00:53:34 +0000 (00:53 +0000)]
solidify would only work as expecyed if all faces were selected, added an override to extrude that means it runs without removing selected faces first, even on a partial selection
Campbell Barton [Tue, 15 Dec 2009 00:24:30 +0000 (00:24 +0000)]
improve solidify results by weighting the faces influence on a vertex by the corner angle of each face before displacing
Joshua Leung [Tue, 15 Dec 2009 00:10:03 +0000 (00:10 +0000)]
Bugfix #20384: target data path of driving not correct when loading old rig from 2.49b
Campbell Barton [Mon, 14 Dec 2009 23:35:13 +0000 (23:35 +0000)]
solidify from 2.4x (ported from python to C)
- shell_angle_to_dist() was using degrees
Roland Hess [Mon, 14 Dec 2009 23:19:59 +0000 (23:19 +0000)]
Patch [19862]: Properly map UV Project from View with camera object.
Previously, calling Project from View for UVs when viewing through a camera produced bad results. You had to scale and stretch the resulting UVs, never resulting in a true "from view" with a camera. Now, what you get in the UV editor is what you saw through the camera.
Martin Poirier [Mon, 14 Dec 2009 23:09:08 +0000 (23:09 +0000)]
Netrender internal refactor.
use a real object for files instead of a tuple
unique urls for files, logs and render results (just missing the proper mime type for exr files)
fix bug with slaves not getting the correct machine name
Andrea Weikert [Mon, 14 Dec 2009 22:59:41 +0000 (22:59 +0000)]
Sequencer:
* fix crash due to missing preview region
* had to bump up subversion to catch all files saved without preview region in sequencer.
Martin Poirier [Mon, 14 Dec 2009 22:29:10 +0000 (22:29 +0000)]
Support -noaudio in background mode too (it was initialized even in bg, that should be fixed).
Andrea Weikert [Mon, 14 Dec 2009 21:42:25 +0000 (21:42 +0000)]
Sequencer drawing cleanup (Part 1)
Separated preview drawing into own ARegion, this should make using View2D possible
The Sequencer now has three view types: Sequencer, Preview and split Sequencer/Preview.
Changing the preview can be done either by the combobox in the header or toggling through those types with CTRL+TAB.
Notes:
* Icon for split Sequencer/Preview view missing still.
* Naming items in the comboboxes can be improved (just Preview instead of Image Preview?)
Next steps:
* bringing back View2D handling (zoom/pan) for image preview
* experimenting with splitting the Preview ARegion for In/Out editing
Brecht Van Lommel [Mon, 14 Dec 2009 21:31:36 +0000 (21:31 +0000)]
Fix #20250: smooth view poor performance compared to 2.49. Increased the
frame rate of smooth view from 30 to 100, makes it looks smoother when it
can redraw at that speed, otherwise will simply drop frames anyway.
Campbell Barton [Mon, 14 Dec 2009 20:56:19 +0000 (20:56 +0000)]
* new metarig type for the durian dragon leg (original rig by Cessen)
* option to roll the delta of the arm rig.
* fix to copy metarig type
* renamed EditBone.align() --> EditBone.align_roll()
* Added EditBone.align_orientation(other)
* Added bone.vector: same as (bone.tail - bone.head)
Brecht Van Lommel [Mon, 14 Dec 2009 20:47:02 +0000 (20:47 +0000)]
Fix #20362: multires conversion from 2.5alpha0 not working. It's still not
entirely the same, the tangets are a bit different at face edges/corners.
Brecht Van Lommel [Mon, 14 Dec 2009 20:37:05 +0000 (20:37 +0000)]
Fix #19897: WM_OT_redraw_timer memory leak using Draw Window.
Brecht Van Lommel [Mon, 14 Dec 2009 20:01:52 +0000 (20:01 +0000)]
Fix #20233: crash when entering - characters in text object, with short
textbox width. I can't tell if this is working correct, the code is very
cryptic, with gotos even, but seems there is not enough space allocated
to permit splitting each character to it's own line.
Brecht Van Lommel [Mon, 14 Dec 2009 19:39:54 +0000 (19:39 +0000)]
Fix #20113: CLICK events stop working when opening a new file.
Brecht Van Lommel [Mon, 14 Dec 2009 19:17:27 +0000 (19:17 +0000)]
Fix crash loading old files with physics systems without effector weights.
Brecht Van Lommel [Mon, 14 Dec 2009 18:27:38 +0000 (18:27 +0000)]
Fix #20076: SSS renders incorrectly when used by objects in a particle system.
Brecht Van Lommel [Mon, 14 Dec 2009 18:15:48 +0000 (18:15 +0000)]
Fix #20118: uv editor, changing active face did not change image.
Martin Poirier [Mon, 14 Dec 2009 18:13:18 +0000 (18:13 +0000)]
Fix plugins source install for real.
Previous fix created a double /plugins/plugins tree.
This should work on all platform (no longer using split when it shouldn't, not creating lists for nothing, ...).
Thomas Dinges [Mon, 14 Dec 2009 17:40:12 +0000 (17:40 +0000)]
Scons:
* Sequencer and textures dir (and the makefiles for that) go into the /plugins folder again, as it should be.
* Don't generate a "doc" dir, when building them is disabled.
Patch by Matt. D. Thanks a lot!
Brecht Van Lommel [Mon, 14 Dec 2009 17:08:02 +0000 (17:08 +0000)]
Fix #20345: weight paint crashes with armature modifier without object.
Also fixes:
* Weight paint subsurf drawing.
* Missing pointer endian conversion in paint brushes.
* Use of unitialized variable in screen version patch.
* Multires modifier without mdisps layer crash.
Brecht Van Lommel [Mon, 14 Dec 2009 15:40:47 +0000 (15:40 +0000)]
Bugfix: converting multires with 0 levels would crash.
Brecht Van Lommel [Mon, 14 Dec 2009 15:05:09 +0000 (15:05 +0000)]
Fix #20364 and #20357: AAO crashes for certain combinations of settings.
Campbell Barton [Mon, 14 Dec 2009 14:51:42 +0000 (14:51 +0000)]
missing import
Brecht Van Lommel [Mon, 14 Dec 2009 14:48:46 +0000 (14:48 +0000)]
Fix #20354: sculpt mode crash when using smooth brush with multires level 0.
Campbell Barton [Mon, 14 Dec 2009 14:42:46 +0000 (14:42 +0000)]
edits to the bone copy metarig type from Cessen, pointcache warning fix
Brecht Van Lommel [Mon, 14 Dec 2009 14:34:57 +0000 (14:34 +0000)]
Bugfix: clicking outside of color picker could reset color in some cases.
Brecht Van Lommel [Mon, 14 Dec 2009 14:27:38 +0000 (14:27 +0000)]
Fix #20368: editing keymap item operator name would reset properties
even if the name was not changed.
Campbell Barton [Mon, 14 Dec 2009 14:21:06 +0000 (14:21 +0000)]
automatic layer placement, users can set the layers if they want.
predefined layer types 'main', 'extra', 'ik', 'fk'
Brecht Van Lommel [Mon, 14 Dec 2009 14:16:39 +0000 (14:16 +0000)]
Fix #20323: closing other window while BGE is running crashes.
Brecht Van Lommel [Mon, 14 Dec 2009 14:08:04 +0000 (14:08 +0000)]
Fix #20356: ctrl+1/2/.. could set multires levels outside limits.
Brecht Van Lommel [Mon, 14 Dec 2009 13:45:45 +0000 (13:45 +0000)]
Fix #20380: Duplicating mesh with Particle Instance Mod, Pole Axis not copied.
Brecht Van Lommel [Mon, 14 Dec 2009 13:20:47 +0000 (13:20 +0000)]
Fix #20376: crash with layer sculpt and multires. This is not working
yet, at least prevents the crash for now.
Brecht Van Lommel [Mon, 14 Dec 2009 13:15:23 +0000 (13:15 +0000)]
Fix #20377: object layer and modifier realtime setting are now editable
again on library linked objects. The former is ok because it is actually
the scene data being edited, the latter will not be saved to file but is
useful..
Brecht Van Lommel [Mon, 14 Dec 2009 13:11:22 +0000 (13:11 +0000)]
Fix #20372: crash when strand render enabled with child hairs.
Joshua Leung [Mon, 14 Dec 2009 12:09:20 +0000 (12:09 +0000)]
Keyframing Bugfixes and Feature Requests:
* Added a User-Pref option for the "XYZ to RGB" colour-mode setting for new F-Curves to compliment the one used for Keying Sets. With this option enabled, the builtin Keying Sets also can obey this option.
* Made all places that were previously manually checking the flags for keyframing to use a standard API function to do this now.
* Fixed bug introduced earlier today in commit 25353 by reverting the changes to keyingsets.c. Forgot that delete_keyframe doesn't handle do the "entire array" hack with array_index = -1
* Fixed bug with the insert-keyframe code for the array_index = -1 case, where too many channels were being keyed (i.e. an imaginary channel was often keyed in addition to the valid ones)
Brecht Van Lommel [Mon, 14 Dec 2009 10:52:02 +0000 (10:52 +0000)]
Fix #20367: game engine crash, origindex layer is now optional.
Joshua Leung [Mon, 14 Dec 2009 06:25:42 +0000 (06:25 +0000)]
Bugfix #20351:
- Offset parameter of the path constraint has no effect on the animation
- Path animation was being repeated multiple times even though it was not supposed to
Thomas Dinges [Mon, 14 Dec 2009 04:58:29 +0000 (04:58 +0000)]
* Custom Player:
-Added Windows Path for Blender 2.4 Player. (Tested on Windows Vista).
Matt Ebb [Mon, 14 Dec 2009 04:03:18 +0000 (04:03 +0000)]
Fix for playing back movie files
Matt Ebb [Mon, 14 Dec 2009 03:48:23 +0000 (03:48 +0000)]
Small fix for 'custom' anim player preset
Joshua Leung [Mon, 14 Dec 2009 03:20:17 +0000 (03:20 +0000)]
A few KeyingSet + Transform Tweaks:
Autokeying for transform functions now gets context-info, allowing for bone paths to be recalculated.
However, the main purpose of this is to allow KeyingSets to eventually have poll functions.
Roland Hess [Mon, 14 Dec 2009 03:01:42 +0000 (03:01 +0000)]
Applies Patch 20200
Shuffle IK Restriction and iTaSC parameter panels into more fitting context.
Campbell Barton [Mon, 14 Dec 2009 01:58:08 +0000 (01:58 +0000)]
use Ellipsis rather then a class defined for an unset value. (since None is valid)
Guillermo S. Romero [Mon, 14 Dec 2009 00:06:24 +0000 (00:06 +0000)]
Specify debian packages.
Matt Ebb [Sun, 13 Dec 2009 23:51:41 +0000 (23:51 +0000)]
patch [#20342] Notifier patch for modifier rename and particle system rename
by 'ThatHaze'. thanks!
Matt Ebb [Sun, 13 Dec 2009 23:30:18 +0000 (23:30 +0000)]
Description and more presets for animation players (rv / framecycler).
Also put a bit more logic for guessing player paths based on my system.
If anyone can make this a bit more clever/bulletproof, please feel free to
get involved in it, it's all python!
Campbell Barton [Sun, 13 Dec 2009 22:48:11 +0000 (22:48 +0000)]
pep8 warnings, remove unused imports
Martin Poirier [Sun, 13 Dec 2009 22:24:30 +0000 (22:24 +0000)]
netrender balancing fix (accessing the list as it is being sorted is not ok)
Caused balancing to error when there was only one job (and more generally, to have a slightly wrong result)
Campbell Barton [Sun, 13 Dec 2009 20:08:57 +0000 (20:08 +0000)]
invalid value for BGE PyObjects was inverted
Andrea Weikert [Sun, 13 Dec 2009 19:45:23 +0000 (19:45 +0000)]
fixing scons and makefile compile.
* added include path due to added bad level #include "WM_api.h"
Campbell Barton [Sun, 13 Dec 2009 19:25:05 +0000 (19:25 +0000)]
added include path for bad level call
Andrea Weikert [Sun, 13 Dec 2009 17:46:30 +0000 (17:46 +0000)]
MSVC 9 compile fixes and cleanups
* added renamed files in revision 25337
* renamed BLI_util.h -> BLI_path_util.h for consistency
* cleanup of #includes: removed BLI_blenlib.h in favour of direct includes of the needed headerfiles in a few places.
* removed debug print in sequencer.c
* added missing include in blenkernel/blender.c -> bad dependency, needs to be fixed still
Campbell Barton [Sun, 13 Dec 2009 16:20:18 +0000 (16:20 +0000)]
use python3 syntax for defining a set.
Campbell Barton [Sun, 13 Dec 2009 15:48:57 +0000 (15:48 +0000)]
more sequence -> sequencer rename, also made sequencer swap strip update effects strips
Campbell Barton [Sun, 13 Dec 2009 14:56:45 +0000 (14:56 +0000)]
* renamed BKE_sequence.h and sequence.c --> sequencer
* renamed util.c --> path_util.c since there are more then 1 of these files which makes setting breakpoints annoying.
Campbell Barton [Sun, 13 Dec 2009 14:38:30 +0000 (14:38 +0000)]
add pep8 headers so these scripts spit out errors when running pep8.
made some changes but mostly these scripts will give pep8 warnings.
Campbell Barton [Sun, 13 Dec 2009 14:13:25 +0000 (14:13 +0000)]
mesh.faces.active attribute for Michael Williamson to help port 2.4x UV unwrap scripts
Campbell Barton [Sun, 13 Dec 2009 14:04:36 +0000 (14:04 +0000)]
remove inline cleanName function, use bpy.utils.clean_name
Campbell Barton [Sun, 13 Dec 2009 14:00:39 +0000 (14:00 +0000)]
tabs 2 spaces
Campbell Barton [Sun, 13 Dec 2009 13:59:16 +0000 (13:59 +0000)]
script for automating pep8 checks.
On ubuntu/debian install these tools...
sudo apt-get install pylint pyflakes python-setuptools python-pip
sudo pip install pep8
then run from blenders source dir...
python release/test/pep8.py
This searches for the comments "# <pep8 compliant>" and "# <pep8-80 compliant>", running the checking tools on these scripts only.
* some minor pep8 corrections too.
Campbell Barton [Sun, 13 Dec 2009 12:26:19 +0000 (12:26 +0000)]
* rna: memory leak fix for RNA_property_enum_value()
* rigify: generate root-most bones before children, this makes parenting to dynamically created bones work.
Campbell Barton [Sun, 13 Dec 2009 11:49:17 +0000 (11:49 +0000)]
clear loc/size/rot wasnt updating child transformations, also removed some warnings
Campbell Barton [Sun, 13 Dec 2009 10:46:34 +0000 (10:46 +0000)]
use tp_getset rather then checking the string on getattr for 'id_data' attribute
Campbell Barton [Sun, 13 Dec 2009 03:20:29 +0000 (03:20 +0000)]
Sequencer unique names for duplicates & metas and name new strips when the operator doesnt set them.
Damien Plisson [Sat, 12 Dec 2009 08:45:16 +0000 (08:45 +0000)]
Reenable disabled window switching shortcuts in 10.4 builds
Andrea Weikert [Fri, 11 Dec 2009 22:51:53 +0000 (22:51 +0000)]
Sequencer: Transform Strip updates (Durian wish)
Removed the Start/End Settings and the effect_fader from the sequencer transform strip.
The transform strip can now only be animated directly by keying the Scale X, Scale Y, Translate X, Translate Y and Rotation values.
Caveat:
The uniform scale re-uses the Scale X value, so when changing the animation on Scale X in the non-uniform scaling case, the uniform scaling will be affected too. This was done to not break files for Durian.
Note:
As much as I would have liked to clean up the TransformVars, it caused crashes of earlier versions of blender when opening the file.
The rna identifiers were also kept as to not break any existing animation on those keys.
Guillermo S. Romero [Fri, 11 Dec 2009 19:27:47 +0000 (19:27 +0000)]
Add include path to access gpu_buffers.h from pbvh.c.
Thomas Dinges [Fri, 11 Dec 2009 19:23:11 +0000 (19:23 +0000)]
*Missing notifier for Render Border.
Andrea Weikert [Fri, 11 Dec 2009 18:02:42 +0000 (18:02 +0000)]
MSVC projectfiles
* update for sculpt merge
NOTE: BLI_blenlib now uses functions in BL_gpu - I added the necessary include path to make it compile, but I'm not sure if this dependency shouldn't be avoided.
Brecht Van Lommel [Fri, 11 Dec 2009 16:59:09 +0000 (16:59 +0000)]
Sculpt:
* Temporary workaround for sculpt not working well with small polygons,
still seems to be some issues, but can at least paint now.
* Small optimization avoiding local function variable aliasing.
Campbell Barton [Fri, 11 Dec 2009 16:30:27 +0000 (16:30 +0000)]
rigify
* optional default blend argument, use for better leg & arm defaults
* way to define arbitrary options for bones that can then be passed to the generator function, only used to set elbow target parent at the moment.
Martin Poirier [Fri, 11 Dec 2009 16:01:47 +0000 (16:01 +0000)]
expand path for external player
Brecht Van Lommel [Fri, 11 Dec 2009 15:30:38 +0000 (15:30 +0000)]
2.5 Sculpt Branch Merge
http://www.blender.org/development/release-logs/blender-250/sculpt-and-multiresolution/
Release logs are work in progress, also check missing items on that
page, there's still a few things that need work.
Quick summary of the changes:
* Use BVH for optimizing sculpt mode, doing only editing and updates
on nearby nodes.
* Memory reduction by use of CCG grids for subsurf, own undo stack,
no vertex-face map, no origindex, .. .
* Multithreading for sculpting, multires, and subsurf.
* Optional external file storage for multires displacements.
* Various tweaks to brush behavior.
Brecht Van Lommel [Fri, 11 Dec 2009 14:38:02 +0000 (14:38 +0000)]
Sculpt Branch:
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r25245:25315
Brecht Van Lommel [Fri, 11 Dec 2009 14:34:21 +0000 (14:34 +0000)]
UV Editor: added proportional edit buttons to the header.
Damien Plisson [Fri, 11 Dec 2009 14:25:37 +0000 (14:25 +0000)]
Fix small mem leak in wm_window_get_size_ghost
Campbell Barton [Fri, 11 Dec 2009 14:16:59 +0000 (14:16 +0000)]
* added an armature submenu where python defined armatures can go.
* bpy.utils.display_name(), which makes filenames and module names look nicer in menus eg... /home/me/foo_bar.py --> "Foo Bar"
* missing rna_path --> data_path renaming
Brecht Van Lommel [Fri, 11 Dec 2009 14:16:17 +0000 (14:16 +0000)]
Sculpt Branch:
* Added detection if VBO extension is supported.
* Redraw other 3d views after sculpting.
* Fix brush sometimes punching through mesh with very small polygons,
added an extra epsilon to the ray-triangle intersection.
Joshua Leung [Fri, 11 Dec 2009 11:18:55 +0000 (11:18 +0000)]
Timeline Drawing Tweaks:
* Made the TimeLine current frame indicator get drawn using the standard frame-indicator code. Also, it is now possible to show the frame indicator box beside the line as in the other animation editors, although this is disabled in the timeline due to the closeness of the frame number field.
* Removed some old (unnecessary) code
-> "Continue Physics" option in TimeLine, which is now obsolete with the current physics options. Feel free to restore if this is not the case.
-> Already commented out hacks to create "speed ipo" for curves. There are easy alternatives that are better integrated.
-> Unused init/exit callbacks for scrubbing time, since those were only used to set an obsolete flag for timeline drawing that is now used for the indicator.
* Switched long-keyframe optimisation code to use constants instead of some magic numbers + fancy trickery...
Brecht Van Lommel [Fri, 11 Dec 2009 10:56:20 +0000 (10:56 +0000)]
Sculpt Branch: multires conversion from 2.4 working again.
Matt Ebb [Fri, 11 Dec 2009 08:05:05 +0000 (08:05 +0000)]
Added back rendered animation playback (in a sense), with a
customisable player.
You can choose a player in User Preferences -> File Paths. You can
choose a plan custom command line, otherwise there are presets available
for the Blender 2.4 player or DJV (where it will give it the correct filename,
fps, etc on the command line). So for example if you have a Blender 2.4
version installed, you can enter the path to the blender 2.4 executable,
and the playback will work just like before.
Any info on other frame players (FrameCycler? pdplayer?) and their
command line settings could be useful for adding some more presets too,
if anyone knows of them.
It's available in Render->Play Rendered Animation (Ctrl F11)
Matt Ebb [Fri, 11 Dec 2009 05:23:00 +0000 (05:23 +0000)]
Fix for [#20331] adding and removing render layers in specific sequence creates layers with the same name
Render layers now use the same consistent 'unique name' function as other parts of Blender (i.e. RenderLayer.001). Updated the defaults for consistency.