Commit Graph

29324 Commits

Author SHA1 Message Date
Campbell Barton
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
Campbell Barton
2900557568 examples for keyframing nested paths. based on report from user der_On's report [#25746] 2011-03-31 12:45:54 +00:00
Janne Karhu
e4c656c7bf Fix for [#26694] Quick effects problems: Make Smoke/Fluid on a flat object creates flat domain. On a subdivided mesh create no domain.
* Fluidsim has to be before any constructive modifiers.
* Also a bit nicer domain size calculation + a warning message for using flat objects as fluid objects.
* Some code cleanup and clarification too.
2011-03-31 11:49:01 +00:00
Campbell Barton
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
Campbell Barton
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
Campbell Barton
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
Campbell Barton
278e2bc3a4 use poppups for python UV unwrap operators (since they are too slow to be realtime). this change was lost when moving the menu items about. 2011-03-31 08:46:41 +00:00
Campbell Barton
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
Campbell Barton
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
Campbell Barton
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
Joshua Leung
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
Joshua Leung
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
Campbell Barton
9c01b94148 py/rna Operator.cancel method didnt have return defined. 2011-03-30 16:44:18 +00:00
Campbell Barton
37f3bbae90 didnt mean to commit to Eigen2 since its externally maintained. 2011-03-30 16:21:35 +00:00
Campbell Barton
bb1f20a534 includes for building with gcc 4.6 on fedora.
patch from Richard Shaw
2011-03-30 16:14:54 +00:00
Campbell Barton
cc87bf16a1 quiet gcc implicit float -> double warnings & use floats in places. 2011-03-30 16:11:16 +00:00
Campbell Barton
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
Campbell Barton
9ba57b6518 pass pep8 checker. 2011-03-30 15:02:02 +00:00
Janne Karhu
ce2be37026 Small update to the quick effects operators:
* "Make fur" now creates a basic fur material for each object (smaller strand tip width and a little bit of surface diffuse)
* If fluid/smoke emitters aren't rendered the objects are also set to draw only in wire mode so that the fluid/smoke can be clearly seen.
2011-03-30 13:35:54 +00:00
Campbell Barton
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
Janne Karhu
22abd53c7e Quick effects operators:
* A couple of operators to quickly create effects that would otherwise take some time to set up.
* Nice to use for demoing functionality or as a starting point for more complex effects.
* "Make Fur" - Gives every selected mesh object particle fur with a desired density and length.
* "Make Smoke" - Makes each selected object a smoke emitter and creates a new domain object around the emitters with the correct material to render the smoke.
** Has style options for "stream": constant smoke flow, "puff": only create smoke once from the volume of the emitter object, "fire": enable high resolution smoke and set a secondary fire color texture for the domain object.
* "Make Fluid" - Makes every selected object a fluid object (normal/inflow) and has the option to start fluid baking immediately.
* This should provide a nice base for extending these / adding more operators for different effects.
2011-03-30 10:29:32 +00:00
Campbell Barton
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
Campbell Barton
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
Nathan Letwory
5b19ec3559 Apply patch [#26660] Scons build on OSX fails to create Info.plist file fix
provided by Mike Sloman

from the patch report:

When building on Mac OSX with SCONS the Info.plist file is zero length and thus OSX cannot identify icons and file type associations.

The problems was in the execution of the "date" command to add times in the modified bundle name strings passed to sed. This failed and thus the info.plist file was overwritten with 0 length file.
2011-03-30 05:44:01 +00:00
Campbell Barton
f8b42877b0 update blender release cycle ID. 2011-03-30 05:08:52 +00:00
Campbell Barton
4052ef1667 quiet gcc's float/double warnings. 2011-03-30 05:07:12 +00:00
Campbell Barton
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
Campbell Barton
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
Campbell Barton
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
Janne Karhu
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
Erwin Coumans
952aa9804f fixes in Bullet stuff, roll influence for raycast vehicles was broken,
enable the setPhysicsTicRate for BGE Python
2011-03-29 18:44:18 +00:00
Campbell Barton
973ce364a4 fix [#26623] script/console windows: BACKSPACE does not work when SHIFT is held 2011-03-29 16:52:26 +00:00
Campbell Barton
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
Erwin Coumans
c0ab420a73 apply patch for body suspend/resume
See also issue #26614
http://projects.blender.org/tracker/index.php?func=detail&aid=26614&group_id=9&atid=306
2011-03-29 15:46:02 +00:00
Brecht Van Lommel
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
Campbell Barton
b84a6c4d7e use less verbose string formatting for units and interface. 2011-03-29 14:36:55 +00:00
Campbell Barton
e020c1504e fix [#26657] Smart UV Project missing from Unwrap menu in 3D Viewport 2011-03-29 14:13:11 +00:00
Campbell Barton
3d9c666f58 fix [#26656] video sequence editor rendering stops at frame 9999 2011-03-29 14:07:07 +00:00
Campbell Barton
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
Brecht Van Lommel
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
Janne Karhu
4b96f15cb3 Fix for [#26664] Some particle panels disappear when pinned
* Too strict poll functions for render & display panels.
* Like said in the report cache & vertex groups are a part of the particle system (not particle settings) they can't be shown when the settings are pinned.
2011-03-29 13:00:59 +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
Janne Karhu
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
Nathan Letwory
e4ef822ecd build target was changing into wrong directory. 2011-03-29 12:10:41 +00:00
Campbell Barton
aa2269e065 remove DEBUG flag from OpenNL with cmake, was giving too many prints in the console when unwrapping. 2011-03-29 11:50:37 +00:00
Janne Karhu
7a252d9824 Fix for [#26658] Permeable colliders stop particles
* Forgot this exception from the collisions rewrite. Don't check collisions with the same face twice.
2011-03-29 10:27:31 +00:00
Joshua Leung
dbd13d67b1 Bugfix [#26645] Crash when duplicating an object with driver
Missing null check for "improper" driver variables.

------

Also, this commit includes some WIP NLA evaluation reshuffling which
should be harmless. I had originally intended this for a later
commit...
2011-03-29 09:37:53 +00:00
Joshua Leung
0f7f203257 Bugfix [#26650] Reset to Default Theme doesn't reset Bone Color Sets
Bone Color Sets weren't set in the call used here. This seems to be a
newish operator that didn't exist in the past, so this error didn't
really show up in the past.
2011-03-29 09:28:46 +00:00
Campbell Barton
9fc6256c66 add rna read-only width/height for screen areas. 2011-03-29 05:49:34 +00:00