Commit Graph

22868 Commits

Author SHA1 Message Date
367cf47dd6 2.5 UI:
*Brush option "size" had different naming in 3D View / Image Editor.
Ported back name "Radius" to RNA (Brush and ParticleBrush) 

Discovered by Bart Crouch. Thanks!
2011-04-01 20:36:27 +00:00
d40b0dfb75 Comments for mesh normals calculation from Mortem Mikkelsen (aka sparky).
We hope it'll help for further workers in this area!
2011-04-01 18:35:49 +00:00
18fd4d3137 Partial fix for #26673: sss + normal map wasn't compatible with previous versions. 2011-04-01 16:01:29 +00:00
3ddbb36fa7 modification to api docs so release point to:
http://www.blender.org/documentation/blender_python_api_2_57b_release

Development versions point to:
   http://www.blender.org/documentation/blender_python_api_2_57_0

This way updates to api docs after release wont overwrite release docs.
2011-04-01 15:13:58 +00:00
339c6c4a51 Bugfix #26691
"Theme default" missed a couple of new colors still.
2011-04-01 15:08:45 +00:00
b94a5e7f02 fix problem with recent commit [#26717] X-Ray conflict (X-Ray Grease Pencil and Object X-Ray) 2011-04-01 14:14:37 +00:00
a4193184bf - bpy.app.release so python scripts can check if the release is stable or not.
- edited pose bone matrix description.
2011-04-01 14:04:26 +00:00
00fe87c84b Bugfix #26672
Minor glitch: Add Camera operator showed option "view aligned", 
but that doesn't work for camera. Is now hidden.
2011-04-01 13:56:01 +00:00
e725f1cf95 Bugfix #26654
A lot of UV tools only work in Image editor, but the operator polls
allowed them to be used in 3d window too, causing crashes in cases.

Also added a poll() check in F6 redo menu.
2011-04-01 12:51:04 +00:00
2bd22ec559 Animation Editors: Name-based filtering
I'm finally yielding to months of feature requesting, and adding
support for filtering F-Curves by name, where the "name" here is the
text which is displayed for each F-Curve in the Animation Editor
channel lists.

To use, just enable the magnifying-glass toggle on the DopeSheet
filtering settings, and enter a snippet of text to find within the
names of channels you wish to filter. This is case insensitive, and
currently doesn't support any wildcard/regrex fanciness.

Some examples:
loc  <--- location curves only
x loc <--- x location curves only
x eul <--- x rotation curves only
rot <--- rotation curves only
etc.
2011-04-01 12:21:41 +00:00
94ec34fb04 xray option for grease pencil (on by default), sometimes its nicer not to have lines draw through the mesh. 2011-04-01 11:55:21 +00:00
3556da255a fix for memory leak when freeing metastrips from the clipboard. 2011-04-01 09:00:16 +00:00
6d3546069c fix [#26713] Video Sequencer: Audio mute after making meta strip copy/paste
was not recursively restoring sound strips on paste.

also found many duplicate functions were defining the transform mode as in int but getting as an enum, use enum for both now.
2011-04-01 08:51:12 +00:00
d2a3005dd0 Add back sculpt mode brush keys.
Operator for switching brushes based on type, cycling through brushes when multiple exist.

This has the advantages over the old method that it doenst rely on hard coded brush names and if there are multiple brushes of the same type it cycles between them.

also fix error in previous commit which broke number buttons changing brushes.
2011-04-01 06:14:39 +00:00
d4a9bc1c21 while looking into adding back brush tool keys found mixed texture/image paint rna vars, using 'image paint' internally. 2011-04-01 04:22:30 +00:00
14e94d742e using wrong RNA type in sculpt update. 2011-03-31 17:54:23 +00:00
5d02ce8a7b Bugfix #26687
Using "New scene" operator was setting the screen->scene pointer
after the undo-push, messing up redos or undos immediate after.
2011-03-31 17:14:31 +00:00
cd9b42871c remove bpy python api from blenderplayer, it was being linked but not initialized/available. 2011-03-31 15:28:53 +00:00
6e14661ad0 Bugfix #26651
If greasepencil became active, making Blender area full or restore
screen from full, the greasepencil handler was still running, using
outdated area pointer. This crashed Blender.

Now greasepencil modal() ends on the case its own stored area does
not exist anymore.
2011-03-31 15:26:51 +00:00
76d7a3562c blender had no option to add a new scene from the UI, only to copy the existing one.
added a new scene option which doesnt copy any render settings from the previous.
2011-03-31 14:33:59 +00:00
c7183d2622 library linked modifiers were not having their ID linked expanded properly.
was missing array cap ends, wave map object and shrinkwrap objects.

use modifiers_foreachIDLink() rather then having to list all modifiers ID's in this function.
also add foreachIDLink() for smoke domain.

This fixes a bug where a linked object has as a modifier using an indirectly linked object for the missing cases mentioned above.
2011-03-31 11:21:21 +00:00
75cd392a57 fix for own error r35877, was ignoring #'s in file path by using the digits value passed rather then the number of digits in the string. 2011-03-31 10:31:14 +00:00
d7dd2154a1 fix for issue #2 in report: [#26695] Two fail cases with modifiers targeting linked assets
also fix for scene.objects.link() not setting library data as being directly used.
2011-03-31 08:49:52 +00:00
e339acf3a9 fix for a crash when loading a new blend file which had a scene with the same name as the old one, the freed backbuffer image from the previous blend file would get reused.
also NULL the bakebuf just incase its accessed in future though at the moment this isnt causing any problems.
2011-03-31 05:20:48 +00:00
7cb68f89ed fix for using freed memory in ED_area_newspace() caused by loading webskategirl_bullet.blend and rendering which created a new image space. 2011-03-31 04:55:57 +00:00
66a1259153 fix for crash when running blender with define WITH_PYTHON_SAFETY & no startup.blend was found.
was calling python function when python was not initialized.
2011-03-31 04:43:26 +00:00
077f8520da Pose Propagate - Further Tweaks:
- Pose Propagate and Pose Sliding tools now work in the same way as
Pose Library previewing, with regards to selections. If some bones are
selected, then only those will be affected. But if no bones are
selected, then the whole rig gets affected.
- Added a "On Selected Markers" option, which only propagates poses to
frames where there's a selected marker. Animators can combine this
with a "select markers whose name contains..." operator to get an
effective way to manage hand-keyed walk cycles, etc.
2011-03-31 01:37:42 +00:00
531d3e410f Propagate Pose Tweaks:
- Renamed "Last Keyframe" mode to "Before End". This mode still just
copies the pose to all keyframes starting from the current frame until
the last one encountered per F-Curve
- "Last Keyframe" mode (new one) now copies the pose to the last
keyframe. This is useful for making animations cyclic (i.e. go to
first keyframe, edit, then Pose->Propagate->To Last Keyframe (Make
Cyclic))
2011-03-31 00:45:52 +00:00
9c01b94148 py/rna Operator.cancel method didnt have return defined. 2011-03-30 16:44:18 +00:00
cc87bf16a1 quiet gcc implicit float -> double warnings & use floats in places. 2011-03-30 16:11:16 +00:00
4f29bc2594 fix [#26685] Cannot exit from "edit mode"
this does not fix the underlying problem that once in this state you cant exit editmode, only that the layer key bindings dont let the state come about.

Looked into fixing properly but its not so simple since currently object mode operators all use "active_object" which is supposed not to be set when in a hidden layer.
2011-03-30 15:28:38 +00:00
a462f7880b disallow rna paths resolving to upper case X/Y/Z/X / R/G/B/A, python cant resolve these. 2011-03-30 11:51:06 +00:00
Nathan Letwory
2b79378f81 COLLADA lights:
* simplify export and import, now that we have blender profiles for lights. The vanilla import is now more in line with the specs. If a blender profile is found, skip normal import, use the profile data instead.
* multiply energy into color rgb export (common profile).
* recalc distance taking metrics in account
2011-03-30 10:51:01 +00:00
bfadd7c9aa modify error when python is not found so as not to confuse users who don't build blender.
+ minor edits.
2011-03-30 07:21:41 +00:00
206e5b7179 print warning on windows/mac when bundled python is not found, suggesting to build the 'install' target. 2011-03-30 06:27:39 +00:00
f8b42877b0 update blender release cycle ID. 2011-03-30 05:08:52 +00:00
4052ef1667 quiet gcc's float/double warnings. 2011-03-30 05:07:12 +00:00
91881dce85 - include for BGE joystick sensor
- remove print from numinput and get rid of some float/double warnings.
- nicer align line-number in text  editor.
2011-03-30 04:58:45 +00:00
70162a4abd fix [#26682] Accessing weight sometimes crashes blender
also replace object type check from vgroup_edit_lattice() with an assert since all callers check for lattice type.
2011-03-30 02:59:32 +00:00
77e3eac389 Fix for old bug with subsurf not initializing normals for edges that had no faces,
Noted that a floating point exception caused by this r28953.

With the render engine using DerivedMesh normals this came up as a memory error when rendering some files.

for now zero the normals, could interpolate between vertex normals if needed.
2011-03-30 02:05:10 +00:00
3170074011 Fix for [#26646] Hair particle density texture prevents strand render on linked assets
* Linked particle textures weren't expanded during file load.
2011-03-29 21:00:42 +00:00
973ce364a4 fix [#26623] script/console windows: BACKSPACE does not work when SHIFT is held 2011-03-29 16:52:26 +00:00
f4ba9495c5 fix [#26667] Can't import scripts when using blenderplayer
- move import override initialization to bpy_internal_import.c so the player and blender can both call.
- remove ineffectual & unused sandboxing code.
2011-03-29 16:12:25 +00:00
e124c47713 Fix #26653: changed DPI setting in user preferences is not saved as default.
Clamping on load did not match RNA property min/max.
2011-03-29 14:39:39 +00:00
b84a6c4d7e use less verbose string formatting for units and interface. 2011-03-29 14:36:55 +00:00
3d9c666f58 fix [#26656] video sequence editor rendering stops at frame 9999 2011-03-29 14:07:07 +00:00
5c79bbe2d8 fix [#26666] Snapping the cursor to selected in UV Image Editor when unwrapping causes an assert. 2011-03-29 13:48:28 +00:00
0297b6c8c6 Fix #26637: another problem with recent normals change, objects with negative
scale did not get correct render normals.
2011-03-29 13:37:16 +00:00
Nathan Letwory
e4e78d4754 Apply [#26044] Windows thumbnails and improved filetype registration
submitted by Tom Edwards
Fix [#25473] 64bit Windows installer for version 2.56 is not working
patch submitted by Caleb (Dobz)

The thumbnail patch adds a thumb handler DLL that adds .blend thumbnail support in Windows Explorer. A -r option is added to do registration in background. The patch also improves icon building and metadata for blender.exe.

Caleb fixes and cleans up our installer to an acceptable state. The patch uses the new -r option to do the .blend extension and thumbnailer registration.

Thanks to both Caleb and Tom for their efforts!
2011-03-29 13:00:03 +00:00
74e044065b Fix for [#26665] Force field absorption does not work
* Old bug fix led to all kinds of wrong behavior with "plane" shaped effectors, now things are working properly again.
2011-03-29 12:50:43 +00:00