Commit Graph

18129 Commits

Author SHA1 Message Date
Campbell Barton
1add5b58e8 mesh.faces.active attribute for Michael Williamson to help port 2.4x UV unwrap scripts 2009-12-13 14:13:25 +00:00
Campbell Barton
c1bfd014bd * rna: memory leak fix for RNA_property_enum_value()
* rigify: generate root-most bones before children, this makes parenting to dynamically created bones work.
2009-12-13 12:26:19 +00:00
Campbell Barton
646575f8d9 clear loc/size/rot wasnt updating child transformations, also removed some warnings 2009-12-13 11:49:17 +00:00
Campbell Barton
b3f03250de use tp_getset rather then checking the string on getattr for 'id_data' attribute 2009-12-13 10:46:34 +00:00
Campbell Barton
a224803fb7 Sequencer unique names for duplicates & metas and name new strips when the operator doesnt set them. 2009-12-13 03:20:29 +00:00
Andrea Weikert
86028a6631 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.
2009-12-11 22:51:53 +00:00
Guillermo S. Romero
3fd73289bd Add include path to access gpu_buffers.h from pbvh.c. 2009-12-11 19:27:47 +00:00
Thomas Dinges
b7a344cf7c *Missing notifier for Render Border. 2009-12-11 19:23:11 +00:00
Brecht Van Lommel
cb4d9a7427 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.
2009-12-11 16:59:09 +00:00
Brecht Van Lommel
3a9dcf1fea Sculpt Branch:
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r25245:25315
2009-12-11 14:38:02 +00:00
Damien Plisson
b056f8eeba Fix small mem leak in wm_window_get_size_ghost 2009-12-11 14:25:37 +00:00
Campbell Barton
fb28896cf7 * 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
2009-12-11 14:16:59 +00:00
Brecht Van Lommel
c6ffe23762 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.
2009-12-11 14:16:17 +00:00
Joshua Leung
fba99b627b 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...
2009-12-11 11:18:55 +00:00
Brecht Van Lommel
89b6d94e38 Sculpt Branch: multires conversion from 2.4 working again. 2009-12-11 10:56:20 +00:00
Matt Ebb
7e7e1018ac 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)
2009-12-11 08:05:05 +00:00
Matt Ebb
877c47fe35 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.
2009-12-11 05:23:00 +00:00
Matt Ebb
34ec7474fd 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 ) 2009-12-11 04:03:55 +00:00
Campbell Barton
d6bee7da75 use rna buttons for color ramps colors so keyframes can be added/deleted. 2009-12-11 02:14:10 +00:00
Matt Ebb
5244b7c21b 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
2009-12-11 01:12:22 +00:00
Campbell Barton
cff8de339d [#20288] FBX exporter fails
* disallow registering operators that have properties starting with an underscore which caused this problem.
2009-12-11 00:51:14 +00:00
Matt Ebb
98dff9b1c7 For for [#20330] Can't open a file made in 2.49
Hair clothsim internal_friction wasn't being initialised correctly.
2009-12-11 00:09:58 +00:00
Martin Poirier
5a0436b8ea 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
2009-12-10 23:24:29 +00:00
Martin Poirier
ab7e9da342 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.
2009-12-10 23:22:43 +00:00
Campbell Barton
97abf6ad96 * 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
2009-12-10 22:23:09 +00:00
Martin Poirier
2a785e8fae Snap options were reset too often, discarding all user options. 2009-12-10 22:07:33 +00:00
Campbell Barton
2576268fb8 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. 2009-12-10 18:28:22 +00:00
Martin Poirier
0779f2c425 Double Click event value.
Timeout between both clicks is user configurable, should be taken from the OS when possible.
2009-12-10 17:41:03 +00:00
Brecht Van Lommel
e7bd63c128 Sculpt Branch:
* Multires 2.50 -> Branch compatibility code converting to the new
  displacement format. 2.49 -> 2.50 is not functional yet.
2009-12-10 17:37:04 +00:00
Campbell Barton
0cc5d50d91 operator report function so python operators can report errors
TODO - reports are currently shown upside down.
2009-12-10 16:52:44 +00:00
Campbell Barton
959ac68914 align option for split 2009-12-10 14:47:07 +00:00
Brecht Van Lommel
acadb8c39f 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.
2009-12-10 14:26:06 +00:00
Campbell Barton
b259efe2d7 UI limits for the envalope frame were too small 2009-12-10 13:20:31 +00:00
Campbell Barton
f26e188a7c - rigify context changes & example for delta
- sequencer transform had 0.0 for rotation minimum
- missed icon rename in last commit
2009-12-10 11:56:31 +00:00
Campbell Barton
901962c621 return value was included in the list of optional args for function-rna error message 2009-12-10 11:20:43 +00:00
Brecht Van Lommel
11ca70b42d Update Handling: moved wm_data_handle_update from windowmanager to
scene_update_tagged in blenkernel, code fits better there.
2009-12-10 11:08:38 +00:00
Joshua Leung
6b7544bfda 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.
2009-12-10 10:40:28 +00:00
Campbell Barton
9358af05d0 rename operators TFM_OT_* --> TRANSFORM_OT_* 2009-12-10 10:36:32 +00:00
Campbell Barton
b5740b0e77 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.
2009-12-10 10:23:53 +00:00
Matt Ebb
9c5019a9a9 Notifier related fixes:
[#20319] 3D View - need 3D cursor notifier
[#20321] Views not receiving the NC_ID notifier
2009-12-10 09:58:10 +00:00
Campbell Barton
7fcb5d33ff values that had units set would not be coerced into Mathutils types by the python api.
eg. scene.cursor_location wasnt a vector
2009-12-10 09:38:58 +00:00
Matt Ebb
24be31bda0 Fix for [#19776] Header bar problem in 2.5
Prevents dragging region edges outside area boundaries or into other regions.
2009-12-10 09:25:30 +00:00
Campbell Barton
900165bc72 raise an error when adding/removing editbones when the armature is not in editmode (without this blender crashes) 2009-12-10 08:54:16 +00:00
Matt Ebb
4bcb759c94 Attempted fix for [#19810] Crash when flipping header with F5 2009-12-10 05:05:04 +00:00
Matt Ebb
64c29743c3 Fix for [#20153] Scale region size from search crashes Blender 2.5 24999 2009-12-10 03:07:04 +00:00
Matt Ebb
a4e4d0f658 Fix for [#20140] Double Properties Panel on 3dview from 2.4x fles 2009-12-10 02:43:55 +00:00
Matt Ebb
985c24b0f1 Fix for 'Copy materials to selected' button freezing when using linked geometry 2009-12-10 01:30:47 +00:00
Matt Ebb
653593b574 Fix for [#20216] Search List is unordered
This sorts RNA collection (bones, vgroups, etc) search lists alphabetically like ID data search lists are already.
2009-12-10 01:29:43 +00:00
Nathan Letwory
ef8706c4ea wrong code order made linux+scons barf. 2009-12-10 01:11:04 +00:00
Nathan Letwory
11af0ff270 * 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.
2009-12-10 00:51:13 +00:00