blender.git
10 years agoSculpt Branch: sculpt25
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

10 years agoUV Editor: added proportional edit buttons to the header.
Brecht Van Lommel [Fri, 11 Dec 2009 14:34:21 +0000 (14:34 +0000)]
UV Editor: added proportional edit buttons to the header.

10 years agoFix small mem leak in wm_window_get_size_ghost
Damien Plisson [Fri, 11 Dec 2009 14:25:37 +0000 (14:25 +0000)]
Fix small mem leak in wm_window_get_size_ghost

10 years ago* added an armature submenu where python defined armatures can go.
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

10 years agoSculpt Branch:
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.

10 years agoTimeline Drawing Tweaks:
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...

10 years agoSculpt Branch: multires conversion from 2.4 working again.
Brecht Van Lommel [Fri, 11 Dec 2009 10:56:20 +0000 (10:56 +0000)]
Sculpt Branch: multires conversion from 2.4 working again.

10 years agoAdded back rendered animation playback (in a sense), with a
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)

10 years agoFix for [#20331] adding and removing render layers in specific sequence creates layer...
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.

10 years agoTweak to make temp 'fullscreen' screens be alphabetically similar to the previous...
Matt Ebb [Fri, 11 Dec 2009 04:03:55 +0000 (04:03 +0000)]
Tweak to make temp 'fullscreen' screens be alphabetically similar to the previous ones that spawned them, so you can switch screens (ctrl left and right arrow) more smoothly ( [#20301] Screens and Fullscreen still doesn't work )

10 years agouse rna buttons for color ramps colors so keyframes can be added/deleted.
Campbell Barton [Fri, 11 Dec 2009 02:14:10 +0000 (02:14 +0000)]
use rna buttons for color ramps colors so keyframes can be added/deleted.

10 years agoVarious UV editor / notifier related fixes:
Matt Ebb [Fri, 11 Dec 2009 01:12:22 +0000 (01:12 +0000)]
Various UV editor / notifier related fixes:

[#20336] Missing notifier - properties view does not update on UV unwrap
[#20337] Shift select is not working in UV-editor island mode
[#20338] Update automatically menu item has strange icon behavior
[#20339] Select all will quit working in UV editor

10 years ago[#20288] FBX exporter fails
Campbell Barton [Fri, 11 Dec 2009 00:51:14 +0000 (00:51 +0000)]
[#20288] FBX exporter fails
* disallow registering operators that have properties starting with an underscore which caused this problem.

10 years agoFor for [#20330] Can't open a file made in 2.49
Matt Ebb [Fri, 11 Dec 2009 00:09:58 +0000 (00:09 +0000)]
For for [#20330] Can't open a file made in 2.49

Hair clothsim internal_friction wasn't being initialised correctly.

10 years ago* root bone override fixed
Campbell Barton [Thu, 10 Dec 2009 23:24:31 +0000 (23:24 +0000)]
* root bone override fixed
* delta was disabled
* simple copy metarig type
* proper exception when a type isnt found

10 years agoDouble Click plays nicer with Click.
Martin Poirier [Thu, 10 Dec 2009 23:24:29 +0000 (23:24 +0000)]
Double Click plays nicer with Click.

1) Double Click takes priority over a second Click (Click will still be send if not handled)
2) The first Click being handled doesn't stop the following Double Click

10 years agowm_menu_invoke calls exec automatically if property is already set.
Martin Poirier [Thu, 10 Dec 2009 23:22:43 +0000 (23:22 +0000)]
wm_menu_invoke calls exec automatically if property is already set.

This way you can set the param in the keymap and it won't always show the menu for nothing.

10 years ago* rename 'rna_path' --> 'data_path', rna and dna are for internal use and are not...
Campbell Barton [Thu, 10 Dec 2009 22:23:09 +0000 (22:23 +0000)]
* rename 'rna_path' --> 'data_path', rna and dna are for internal use and are not descriptive.
* armature.pose_position: POSE_POSITION, REST_POSITION --> POSE, REST
* rigify now forces rest pose mode
* updated neck_flex to keep original bones unchanged

10 years agoSnap options were reset too often, discarding all user options.
Martin Poirier [Thu, 10 Dec 2009 22:07:33 +0000 (22:07 +0000)]
Snap options were reset too often, discarding all user options.

10 years agoNetrender: categories and balancing by categories based on usage. Enables grouping...
Martin Poirier [Thu, 10 Dec 2009 18:56:21 +0000 (18:56 +0000)]
Netrender: categories and balancing by categories based on usage. Enables grouping of jobs in a single priority group. Jobs in the same category are still ordered by cluster usage.

10 years agomissed a header last commit, added custom exceptions to rigify so they can be caught...
Campbell Barton [Thu, 10 Dec 2009 18:28:22 +0000 (18:28 +0000)]
missed a header last commit, added custom exceptions to rigify so they can be caught and converted into reports and have normal errors display the stack trace as useual.

10 years agoDouble Click event value.
Martin Poirier [Thu, 10 Dec 2009 17:41:03 +0000 (17:41 +0000)]
Double Click event value.

Timeout between both clicks is user configurable, should be taken from the OS when possible.

10 years agoSculpt Branch:
Brecht Van Lommel [Thu, 10 Dec 2009 17:37:04 +0000 (17:37 +0000)]
Sculpt Branch:
* Multires 2.50 -> Branch compatibility code converting to the new
  displacement format. 2.49 -> 2.50 is not functional yet.

10 years agooperator report function so python operators can report errors
Campbell Barton [Thu, 10 Dec 2009 16:52:44 +0000 (16:52 +0000)]
operator report function so python operators can report errors
TODO - reports are currently shown upside down.

10 years agoalign option for split
Campbell Barton [Thu, 10 Dec 2009 14:47:07 +0000 (14:47 +0000)]
align option for split

10 years agofix for some errors and local root bone override
Campbell Barton [Thu, 10 Dec 2009 14:32:37 +0000 (14:32 +0000)]
fix for some errors and local root bone override

10 years agoSculpt Branch:
Brecht Van Lommel [Thu, 10 Dec 2009 14:26:06 +0000 (14:26 +0000)]
Sculpt Branch:

Revised external multires file saving. Now it is more manual in that you
have to specify where to save it, like an image file, but still saved at
the same time as the .blend. It would ideally be automatic, but this is
difficult to implement, so for now this should at least be more reliable.

10 years agomissed editing the sample rigs, Cessen likes palm_curl.py better
Campbell Barton [Thu, 10 Dec 2009 13:45:16 +0000 (13:45 +0000)]
missed editing the sample rigs, Cessen likes palm_curl.py better

10 years agorenaming metarig types since we may well have multiple arm/finger/leg types
Campbell Barton [Thu, 10 Dec 2009 13:34:21 +0000 (13:34 +0000)]
renaming metarig types since we may well have multiple arm/finger/leg types

10 years agoUI limits for the envalope frame were too small
Campbell Barton [Thu, 10 Dec 2009 13:20:31 +0000 (13:20 +0000)]
UI limits for the envalope frame were too small

10 years agomove generic functions out of rigify's __init__.py into rigify_utils.py since rigify...
Campbell Barton [Thu, 10 Dec 2009 12:58:03 +0000 (12:58 +0000)]
move generic functions out of rigify's __init__.py into rigify_utils.py since rigify its self does not use them, only some of the metarig types.

10 years ago- rigify context changes & example for delta
Campbell Barton [Thu, 10 Dec 2009 11:56:31 +0000 (11:56 +0000)]
- rigify context changes & example for delta
- sequencer transform had 0.0 for rotation minimum
- missed icon rename in last commit

10 years agoreturn value was included in the list of optional args for function-rna error message
Campbell Barton [Thu, 10 Dec 2009 11:20:43 +0000 (11:20 +0000)]
return value was included in the list of optional args for function-rna error message

10 years agoUpdate Handling: moved wm_data_handle_update from windowmanager to
Brecht Van Lommel [Thu, 10 Dec 2009 11:08:38 +0000 (11:08 +0000)]
Update Handling: moved wm_data_handle_update from windowmanager to
scene_update_tagged in blenkernel, code fits better there.

10 years agoDurian Request: Default F-Curve Auto-Colour Modes
Joshua Leung [Thu, 10 Dec 2009 10:40:28 +0000 (10:40 +0000)]
Durian Request: Default F-Curve Auto-Colour Modes

Added option to KeyingSets+Keyframing Functions which makes newly added F-Curves for Transforms + Colours to use the colour mode which uses the array index to determine the colour of the F-Curve.

The main implication of this is that when this option is enabled for a KeyingSet, all sets of XYZ F-Curves (i.e. location, rotation, scale) for transforms will be shown in Red/Green/Blue instead of some automatically determined "rainbow" colour. Useful for animators far too used to Maya's Graph Editor :P

This setting is named, "XYZ to RGB", though that doesn't make its purpose entirely clear.

10 years agorename operators TFM_OT_* --> TRANSFORM_OT_*
Campbell Barton [Thu, 10 Dec 2009 10:36:32 +0000 (10:36 +0000)]
rename operators TFM_OT_* --> TRANSFORM_OT_*

10 years agoremove ICON prefix from the enum, for python this is redundant eg.
Campbell Barton [Thu, 10 Dec 2009 10:23:53 +0000 (10:23 +0000)]
remove ICON prefix from the enum, for python this is redundant eg.
 layout.prop("setting", icon='ICON_BLAH_BLAH')

Also reverted previous commit, the cursor subtype just needed to be added to the switch statement.

10 years agoNotifier related fixes:
Matt Ebb [Thu, 10 Dec 2009 09:58:10 +0000 (09:58 +0000)]
Notifier related fixes:
[#20319] 3D View - need 3D cursor notifier
[#20321] Views not receiving the NC_ID notifier

10 years agovalues that had units set would not be coerced into Mathutils types by the python...
Campbell Barton [Thu, 10 Dec 2009 09:38:58 +0000 (09:38 +0000)]
values that had units set would not be coerced into Mathutils types by the python api.
 eg. scene.cursor_location wasnt a vector

10 years agoFix for [#19776] Header bar problem in 2.5
Matt Ebb [Thu, 10 Dec 2009 09:25:30 +0000 (09:25 +0000)]
Fix for [#19776] Header bar problem in 2.5

Prevents dragging region edges outside area boundaries or into other regions.

10 years agoraise an error when adding/removing editbones when the armature is not in editmode...
Campbell Barton [Thu, 10 Dec 2009 08:54:16 +0000 (08:54 +0000)]
raise an error when adding/removing editbones when the armature is not in editmode (without this blender crashes)

10 years agoAttempted fix for [#19810] Crash when flipping header with F5
Matt Ebb [Thu, 10 Dec 2009 05:05:04 +0000 (05:05 +0000)]
Attempted fix for [#19810] Crash when flipping header with F5

10 years agoFix for [#20153] Scale region size from search crashes Blender 2.5 24999
Matt Ebb [Thu, 10 Dec 2009 03:07:04 +0000 (03:07 +0000)]
Fix for [#20153] Scale region size from search crashes Blender 2.5 24999

10 years agoFix for [#20140] Double Properties Panel on 3dview from 2.4x fles
Matt Ebb [Thu, 10 Dec 2009 02:43:55 +0000 (02:43 +0000)]
Fix for [#20140] Double Properties Panel on 3dview from 2.4x fles

10 years agoFix for 'Copy materials to selected' button freezing when using linked geometry
Matt Ebb [Thu, 10 Dec 2009 01:30:47 +0000 (01:30 +0000)]
Fix for 'Copy materials to selected' button freezing when using linked geometry

10 years agoFix for [#20216] Search List is unordered
Matt Ebb [Thu, 10 Dec 2009 01:29:43 +0000 (01:29 +0000)]
Fix for [#20216] Search List is unordered

This sorts RNA collection (bones, vgroups, etc) search lists alphabetically like ID data search lists are already.

10 years agowrong code order made linux+scons barf.
Nathan Letwory [Thu, 10 Dec 2009 01:11:04 +0000 (01:11 +0000)]
wrong code order made linux+scons barf.

10 years ago* WITH_BF_RAYOPTIMIZATION cleanup and flag separation by matd.
Nathan Letwory [Thu, 10 Dec 2009 00:51:13 +0000 (00:51 +0000)]
* WITH_BF_RAYOPTIMIZATION cleanup and flag separation by matd.
  This adds BF_RAYOPTIMIZATION_SSE_FLAGS through which one can manage
  what SSE flags are best for the platform built for.

  Note that the ray optimizations coded by jaguarandi are SSE-intrinsics only.

10 years agoRevert bunch of changes I should have committed before.
Martin Poirier [Thu, 10 Dec 2009 00:41:03 +0000 (00:41 +0000)]
Revert bunch of changes I should have committed before.

10 years agotextedit string needs to be one byte longer than maxlen, for terminator.
Martin Poirier [Thu, 10 Dec 2009 00:28:18 +0000 (00:28 +0000)]
textedit string needs to be one byte longer than maxlen, for terminator.

10 years agoMSVC 9 projectfiles
Andrea Weikert [Thu, 10 Dec 2009 00:20:19 +0000 (00:20 +0000)]
MSVC 9 projectfiles
* added missing header BKE_sequence.h
* moved source folder back to correct place (was inside headers folder)

10 years agoFix notifiers for object active material selection
Matt Ebb [Wed, 9 Dec 2009 22:58:08 +0000 (22:58 +0000)]
Fix notifiers for object active material selection

10 years agoshow_handles property didn't flip bool properly.
Martin Poirier [Wed, 9 Dec 2009 22:54:25 +0000 (22:54 +0000)]
show_handles property didn't flip bool properly.

Patch by DustyDingo on irc.

10 years agopatch from Cessen, tweaks and fixes to metarig elements
Campbell Barton [Wed, 9 Dec 2009 22:44:26 +0000 (22:44 +0000)]
patch from Cessen, tweaks and fixes to metarig elements

10 years agogive IDPropertyGroups's an identifier so they can display text in the listview, hardc...
Campbell Barton [Wed, 9 Dec 2009 22:37:02 +0000 (22:37 +0000)]
give IDPropertyGroups's an identifier so they can display text in the listview, hardcoded to "name"

10 years agoPatch [#20290] by Bjørnar Hansen for bug [#20270] 2.5a0, Select Random says percent...
Martin Poirier [Wed, 9 Dec 2009 21:42:21 +0000 (21:42 +0000)]
Patch [#20290] by Bjørnar Hansen for bug [#20270] 2.5a0, Select Random says percent but is really 0-1

10 years agoSequencer fix: Transform Strip wouldn't work with default_fader
Andrea Weikert [Wed, 9 Dec 2009 20:03:08 +0000 (20:03 +0000)]
Sequencer fix: Transform Strip wouldn't work with default_fader
* added default_fader to transform strip, since it used the old fac too.
* removed ANIMATEABLE attribute from the settings in the transform strip, since they are animated via the effect_fader and not directly for now. (too confusing)
* UI: only show default_fader for the effect strips that support it

Sequencer Durian feature: uniform scale for Sequence transform strip.
* for now re-using variable for x-axis scaling.

Note: This brings back functionality as close to 2.49 as possible. The Start and End values in the current design are not meant to be animated directly, but via the effect_fader.

10 years agoFix #20305: overlay blending mode for specular intensity does not work.
Brecht Van Lommel [Wed, 9 Dec 2009 19:41:27 +0000 (19:41 +0000)]
Fix #20305: overlay blending mode for specular intensity does not work.

10 years agoInvalid return type
Martin Poirier [Wed, 9 Dec 2009 18:47:52 +0000 (18:47 +0000)]
Invalid return type

10 years agoMSVC 9 projectfiles
Andrea Weikert [Wed, 9 Dec 2009 18:38:55 +0000 (18:38 +0000)]
MSVC 9 projectfiles
* quick updates for bpy_driver.c

10 years agoFix compile problem (warnings are important)
Martin Poirier [Wed, 9 Dec 2009 18:08:14 +0000 (18:08 +0000)]
Fix compile problem (warnings are important)

10 years agoFix #20245: datablock names allowed entering 22 characters but can
Brecht Van Lommel [Wed, 9 Dec 2009 18:03:44 +0000 (18:03 +0000)]
Fix #20245: datablock names allowed entering 22 characters but can
only accept 21.

10 years agoMove libpython.a to COMLIB (before was PULIB).
Guillermo S. Romero [Wed, 9 Dec 2009 17:53:52 +0000 (17:53 +0000)]
Move libpython.a to COMLIB (before was PULIB).

10 years agoFix for bug #20307: snapping in uv editor is related to objects origin.
Brecht Van Lommel [Wed, 9 Dec 2009 17:32:54 +0000 (17:32 +0000)]
Fix for bug #20307: snapping in uv editor is related to objects origin.
Also updated image window header to use snap element property.

10 years agoFix bug #20299: bilateral blur node crashes when the number of
Brecht Van Lommel [Wed, 9 Dec 2009 17:18:39 +0000 (17:18 +0000)]
Fix bug #20299: bilateral blur node crashes when the number of
iterations is rapidly changed.

10 years agovery very bad hack to have sequencer strips fcurve data transform with them.
Campbell Barton [Wed, 9 Dec 2009 16:46:41 +0000 (16:46 +0000)]
very very bad hack to have sequencer strips fcurve data transform with them.
ifdef'd so its not kept in by accident.
Committing because without this animating with the sequencer isnt really usable and am not interensted in having many patches applied on artists systems.

10 years agoadded collection sequences_all so strips within meta's can be animated
Campbell Barton [Wed, 9 Dec 2009 16:00:53 +0000 (16:00 +0000)]
added collection sequences_all so strips within meta's can be animated

10 years agoSculpt Branch:
Brecht Van Lommel [Wed, 9 Dec 2009 15:24:55 +0000 (15:24 +0000)]
Sculpt Branch:
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r25180:25245

10 years agoSculpt Branch:
Brecht Van Lommel [Wed, 9 Dec 2009 15:20:47 +0000 (15:20 +0000)]
Sculpt Branch:
* Fallback code in case VBO allocation fails.

10 years agoif bone type root is defined, all new parentless bones become children of it
Campbell Barton [Wed, 9 Dec 2009 15:13:03 +0000 (15:13 +0000)]
if bone type root is defined, all new parentless bones become children of it

10 years agoVBO:
Brecht Van Lommel [Wed, 9 Dec 2009 14:37:26 +0000 (14:37 +0000)]
VBO:
* Fix #19785: curves not drawing with VBO enabled
* Fix #19553: duplicate Window crashes with VBO's

The convention in Blender was to have GL_VERTEX_ARRAY and GL_NORMAL_ARRAY
enabled by default, and other arrays disabled. The VBO drawing code did
not take this into account. I've made these now disabled by default, since
that makes the code clearer in other places too.

10 years agosome more rig options, fix typo
Campbell Barton [Wed, 9 Dec 2009 14:29:55 +0000 (14:29 +0000)]
some more rig options, fix typo

10 years ago- added editbone.matrix, readonly, utility property that calculates the matrix from...
Campbell Barton [Wed, 9 Dec 2009 14:25:56 +0000 (14:25 +0000)]
- added editbone.matrix, readonly, utility property that calculates the matrix from the bone roll
- spine fixes
- arm now uses the average Z axis to place the poll target

10 years agoSculpt Branch:
Brecht Van Lommel [Wed, 9 Dec 2009 13:37:19 +0000 (13:37 +0000)]
Sculpt Branch:
* Smooth brush works again for multires.
* Optimal Display option for multires modifier, same as subsurf.

10 years ago- use the bone that the type was set for automatic assigned blending property (when...
Campbell Barton [Wed, 9 Dec 2009 12:36:13 +0000 (12:36 +0000)]
- use the bone that the type was set for automatic assigned blending property (when blending 2 chains)
- delete the type property from the generated rig so running again wont confuse things

10 years ago- rewrote arm rig so it creates 2 chains and blend them automatically (like the leg)
Campbell Barton [Wed, 9 Dec 2009 12:00:28 +0000 (12:00 +0000)]
- rewrote arm rig so it creates 2 chains and blend them automatically (like the leg)
- use reverse order for palm fingers (pointer first)
- allow copying bone class instances to exclude some bones
- doc generation had a python error (incedently updated online docs linked from the splash)

10 years agoWhoops, silly typo
Matt Ebb [Wed, 9 Dec 2009 11:38:32 +0000 (11:38 +0000)]
Whoops, silly typo

10 years agoSculpt Branch: sculpting with modifiers and shape keys working again.
Brecht Van Lommel [Wed, 9 Dec 2009 11:09:56 +0000 (11:09 +0000)]
Sculpt Branch: sculpting with modifiers and shape keys working again.

10 years agoRNA: fix for yesterday's commit, browsing screens and scenes was
Brecht Van Lommel [Wed, 9 Dec 2009 10:55:28 +0000 (10:55 +0000)]
RNA: fix for yesterday's commit, browsing screens and scenes was
not working anymore, relies on special notifiers.

10 years agoVarious more screen-related fixes including:
Matt Ebb [Wed, 9 Dec 2009 06:55:16 +0000 (06:55 +0000)]
Various more screen-related fixes including:
[#20271] File Browser - Wont show when area is fullscreen

10 years agograbcursor attribute stores full grab mode so we can better differentiate when it...
Martin Poirier [Wed, 9 Dec 2009 04:51:35 +0000 (04:51 +0000)]
grabcursor attribute stores full grab mode so we can better differentiate when it needs to wrap around cursor draw.

Also add cocoa exception to wm_get_cursor_position (this should be fixed at the ghost level)

10 years agoFix for [#20197] dof node bugs
Matt Ebb [Wed, 9 Dec 2009 02:55:19 +0000 (02:55 +0000)]
Fix for [#20197] dof node bugs

This is still a bit dodgy, the issue of accessing scene data from nodes needs to be solved better, but this at least fixes it up to previous capabilities, and prevents writing any data to scene/objects either.

10 years agoMinor fix for missing menu
Matt Ebb [Wed, 9 Dec 2009 01:53:51 +0000 (01:53 +0000)]
Minor fix for missing menu

10 years agoFix for [#20249] duplicating a mesh in edit mode with a lattice modifier
Matt Ebb [Wed, 9 Dec 2009 01:53:04 +0000 (01:53 +0000)]
Fix for [#20249] duplicating a mesh in edit mode with a lattice modifier

Removed lattice and curve modifiers from being correctable for crazy space - it didn't work and was giving weird results.

10 years agoauto-dist working again, renamed obofs --> dyn_ofs, use_sel --> use_dyn_ofs, since...
Campbell Barton [Wed, 9 Dec 2009 00:45:50 +0000 (00:45 +0000)]
auto-dist working again, renamed obofs --> dyn_ofs, use_sel --> use_dyn_ofs, since its used by Auto-Depth too.

10 years agoreference to INDIVIDUAL_CENTERS causing error
Campbell Barton [Wed, 9 Dec 2009 00:03:18 +0000 (00:03 +0000)]
reference to INDIVIDUAL_CENTERS causing error

10 years agosplit out driver functions into its own file
Campbell Barton [Tue, 8 Dec 2009 22:35:03 +0000 (22:35 +0000)]
split out driver functions into its own file

10 years agosetting and editbone parent to NULL wasnt working
Campbell Barton [Tue, 8 Dec 2009 20:58:23 +0000 (20:58 +0000)]
setting and editbone parent to NULL wasnt working

10 years agoAttempted Bugfix: opengl preview render artifacts, was using wmPush/PopMatrix,
Brecht Van Lommel [Tue, 8 Dec 2009 19:27:30 +0000 (19:27 +0000)]
Attempted Bugfix: opengl preview render artifacts, was using wmPush/PopMatrix,
but this does not have an actual stack, so using glPush/PopMatrix instead now.

10 years agotransforming metastrips didnt move effects within them & remove warning
Campbell Barton [Tue, 8 Dec 2009 19:27:19 +0000 (19:27 +0000)]
transforming metastrips didnt move effects within them & remove warning

10 years ago2.5 User Preferences:
Thomas Dinges [Tue, 8 Dec 2009 19:08:35 +0000 (19:08 +0000)]
2.5 User Preferences:
* Massive Code Cleanup, still not "Layout Code Guidelines" conform, but much better.

* Commented out buttons that don't work yet, like translation buttons.
* Some minor shuffling around of buttons in "System" Tab. William: Feel free to modify that, still some room for improvements. :)

10 years agoAnimation System: Handling Updates
Brecht Van Lommel [Tue, 8 Dec 2009 18:28:09 +0000 (18:28 +0000)]
Animation System: Handling Updates

* Added ANIM_list_elem_update and ANIM_id_update functions to call when
  changing animation curves, which will then call the RNA property update
  functions for those curves.

  This is to replace just calling DAG_id_flush_update, that may not always
  be the right thing to do, and doesn't send proper notifiers for redraw.

  Still only used/usable when transforming in the graph editor, not sure
  how this do this with NLA for example, .. needs to be improved.

* Added function wm_data_handle_update function to contain the object
  update function, and also added scene animation update there. Actually
  it should be doing all datablocks, this makes it work for sequencer.

Joshua, do you agree this is the right direction to go in? I can revert or
change the code if you think it should be done differently. Mainly wanted
to get this working well for sequencer now.

10 years agoSequencer: comment out unimplemented operator to avoid error print.
Brecht Van Lommel [Tue, 8 Dec 2009 18:09:08 +0000 (18:09 +0000)]
Sequencer: comment out unimplemented operator to avoid error print.

10 years agoRNA functions to find keymaps in a keyconfig (from the usual idname + space or modal...
Martin Poirier [Tue, 8 Dec 2009 18:02:50 +0000 (18:02 +0000)]
RNA functions to find keymaps in a keyconfig (from the usual idname + space or modal keymaps from operator id)

10 years agoImage Paint keymap in image editor wasn't looked up with the space type.
Martin Poirier [Tue, 8 Dec 2009 17:37:31 +0000 (17:37 +0000)]
Image Paint keymap in image editor wasn't looked up with the space type.

10 years agoRNA:
Brecht Van Lommel [Tue, 8 Dec 2009 17:23:48 +0000 (17:23 +0000)]
RNA:

* Property update functions no longer get context, instead they get only
  Main and Scene. The RNA api was intended to be as context-less as
  possible, since it doesn't really matter who is changing the property,
  everything that uses the property should be updated.
* There's still one exception case that use it now, screen operations
  still depend on context too much. It also revealed a few places using
  context where they shouldn't.
* Ideally Scene shouldn't be passed, but much of Blender still depends on
  it, should be dropped when we try to support multiple scene editing.

Change was planned for a while, but need this now to be able to call
update without a context pointer.

10 years ago- modify for Cessens updated spine
Campbell Barton [Tue, 8 Dec 2009 17:00:53 +0000 (17:00 +0000)]
- modify for Cessens updated spine
- Neck example didnt account for some possible problems when linking to the body
- foot IK were referencing the wrong bones
- updated some example rigs
- graph constraint arrow direction was incorrect

10 years agoslow print, only debug mode
Campbell Barton [Tue, 8 Dec 2009 16:39:00 +0000 (16:39 +0000)]
slow print, only debug mode

10 years agounwrap was unwrapping all faces rather then just the selected ones
Campbell Barton [Tue, 8 Dec 2009 15:20:57 +0000 (15:20 +0000)]
unwrap was unwrapping all faces rather then just the selected ones

10 years agominor fixes
Campbell Barton [Tue, 8 Dec 2009 14:02:06 +0000 (14:02 +0000)]
minor fixes