Commit Graph

29519 Commits

Author SHA1 Message Date
Janne Karhu
be17466942 Fix for [#27038] Bugs when linking particles/collision/softbody modifiers
* Collision modifiers are disabled here by intention, but particles and softbody were copied the wrong way over :)
* On a further note I don't really get this whole "link modifiers" thing as it just copies the modifiers. As modifiers aren't ID blocks there's no sense in calling this linking!
* Secondly I don't think particles, smoke etc should be considered as modifiers here at all, meaning they shouldn't be linked/copied. These "modifiers" only read the mesh data at a certain location of the stack, but don't actually modify the mesh in any way (more info here http://wiki.blender.org/index.php/User:Jhk#Modifier_Stack_proposal).
2011-04-19 16:30:55 +00:00
Lukas Toenne
6cb761f10c Corrected updating inside edited groups, fix for #27018. This was caused by edit updates being restricted to the actual node. Edit functions now should use the generic snode_tag_changed, which also updates all instances of the currently edited group. 2011-04-19 15:15:50 +00:00
Ton Roosendaal
9abd711304 Bugfix 26936
EditMode mesh: tool "Mesh Rip Move" shouldnt be in the toolbar.
The tool was coded to use the mouse position next to the selection.
The rip then happens correctly after pressing V and move mouse away
from selection.
2011-04-19 14:36:26 +00:00
Joshua Leung
8266c602b4 Bugfix [#25960] .1 Action Editor header doesn't update when entering
tweakmode on NLA Strips
2011-04-19 13:17:16 +00:00
Janne Karhu
b282655088 Fix for [#27008] Replacing particle hair with group objects - viewport does not match renderoutput.
* Object size was determined from the first and second last cache key by accident, when it should have been first and last cache keys that were used.
2011-04-19 13:06:08 +00:00
Joshua Leung
aa00bbe484 Whitespace/typos 2011-04-19 13:02:49 +00:00
Joshua Leung
94b99b5d4a Bugfix [#25960] Action/NLA Editor issues with animdata context
Actions now get tagged with an ID-code, which is used to determine
what ID-blocks they can be assigned to. This ensures that material
actions cannot be assigned to the object-level for example.

* Action lists in general will now show only the actions that can be
set for that particular slot. This prevents selection of invalid
actions, and helps cut down the list of actions.
** An exception here is the Add Action Clip in NLA Editor, which will
show all actions but will only add where appropriate. This is because
it's not easy/possible to tell in advance which blocktypes to filter
for when building this list. (TODO?)

* The "Action Editor" is now strictly for object-level action
editing+setting now. This avoids repeateded confusion by people who
try using this to view their shapekey actions, which should go to the
Shape Key Editor instead!
** A context switcher for the legitimate times where this capability
might come in handy is still being investigated.

* "Floating" actions (i.e. actions in some action_library.blend) are
NOT able to be automatically tagged until they are assigned to some
datablocks (i.e. loaded onto the rig + played back once). It is
possible to write scripts that check for certain RNA-paths and "guess"
what datablocks they work on, but it is recommended that you load up
the Datablocks Viewer, and go through such actions by hand, setting
the "ID Root Type" property as appropriate per action.
2011-04-19 13:01:50 +00:00
Ton Roosendaal
c4debb1c64 Bugfix #26977 + Patch by Harley Acheson
Using search for operators showed ambigious names like "Duplicate" or "Delete".
Default names should give at least a descriptive label. In case operators
are collected in a group name-shortening should be handled separaly.
2011-04-19 11:17:29 +00:00
Campbell Barton
a8185f4cc8 patch [#26978] Minor Spelling Mistakes in Editor Operators
+ some errors I noticed.
2011-04-19 10:35:24 +00:00
Campbell Barton
5b920bc2ff Some strings to store ID names were too small, could cause stack corruption.
corrected these and replaced 'sizeof(((ID *)NULL)->name)-2' with 'MAX_ID_NAME-2'.
2011-04-19 06:59:49 +00:00
Campbell Barton
6a91cf9adb noticed a problem with rendering non-active scenes in the node editor.
- the frame from the current scene wasn't used - whereas with rendering it is, set the current frame as is done when node rendering.
- camera switching also failed, added a call to it.
2011-04-19 06:37:29 +00:00
Campbell Barton
217d1aa461 fix [#26900] Problem with active camera between scenes 2011-04-19 06:15:13 +00:00
Campbell Barton
1d536da57e fix [#27016] Add new vertex at wrong position ( bpy.ops.mesh.dupli_extrude_cursor() )
also found curve click-extrude was always aligning the new points depth to (0,0,0), now work the same as mesh edit - align to the selected point or the cursor if none are seleted.
2011-04-19 05:34:05 +00:00
Campbell Barton
ba229e3859 fix [#27011] executing a script crashes Blender 2011-04-19 04:19:09 +00:00
Campbell Barton
6bdb5e75ce fix [#27015] RNA Bug: Unpacking sounds with a long ID name fails: sound ID length wrong?!
also fix for OBJECT_OT_proxy_make and RENDER_OT_render using incorrect lengths for ID names.
2011-04-18 15:20:19 +00:00
Joerg Mueller
5f08bfd46c Fix for [#26990] Loading file w packed audio crashes
FFMPEG was reallocating buffers it didn't own and wasn't allowed to. This workaround should work now flawlessly.

Also fixing a bug regarding unpacking sounds, the UI stated unpacking to //audio/filename while it was unpacking to //sounds/filename
2011-04-18 14:24:36 +00:00
Ton Roosendaal
54f3167270 Bugfix #26901
Compositing, lens distortion node: it delivered RGBA out with alpha zero,
making it not draw previews, violates both premul or straight alpha usage.

Now it just sets alpha to 1 for entire output. 

Cleaned code readability a bit as well.
2011-04-18 11:22:01 +00:00
Campbell Barton
c84e26cb91 fix for part of this report [#27006] Apply Scale at a B-Bone Skeleton causes rescale of B-Bones and offset of attached objects
bbones now get scaled too, but the attached objects still get offset.
2011-04-18 10:40:06 +00:00
Campbell Barton
9dda11e0f1 correction for windows. 2011-04-18 10:18:35 +00:00
Joerg Mueller
fae253a428 Fix for [#26949] problems opening 2.49 files with audio (relative path problems?)
When I wrote that code main.name wasn't set correctly and I had to use G.main.name; now it seems to be the other way round :-)
2011-04-18 10:04:28 +00:00
Campbell Barton
0814cdf54e fix [#26951] blenderplayer and runtimes will not load
blenderplayer wasn't finding bundled python, eg: ./2.57/python/lib
2011-04-18 08:27:50 +00:00
Campbell Barton
75e1104d92 cmake
- allow building blenderplayer with redcode.
- when ffmpeg is enabled remove strict compiler errors for imbuf and blenkernel since its hard to avoid these warnings across ffmpeg versions.
2011-04-18 07:11:40 +00:00
Campbell Barton
ea5baccbf8 fix for own mistake in recent commit: [#27000] Spotlight spot shape size, lamp object data - numerical entries are interpreted as radians though displayed in degrees in SVN 36199
now apply units after python evaluation for unit buttons.
2011-04-18 03:27:15 +00:00
Campbell Barton
66bf6487df object.collision was allocating on access for all object types - camera could get collision data for eg.
now check for mesh types only.

any other type will return None.
2011-04-18 01:45:28 +00:00
Campbell Barton
d95e572227 fix [#26995] Crash on bpy.context.object.collision
use object.collision rather then object.modifiers[...].settings
2011-04-18 01:40:45 +00:00
Matt Ebb
8b2a3c250a Fix [#26896] Displace Node crashes Blender when connected to Z-Buffer
Clamped the maximum displacement distance to 4 x the input image dimensions - prevents hanging when vary large values are mistakenly plugged in, such as Z buffers,
2011-04-17 22:47:23 +00:00
Matt Ebb
f261a22263 Committing patch [#26960] bu MiikaH, fixes bug:
[#26945] Hue Correct doesn't Hue But Rather Saturate

thanks!
2011-04-17 22:11:23 +00:00
Campbell Barton
0862abf68b change unit evaluation only to do try the units replacements if evaluating with python fails, in rare cases its possible a valid python expression could get units applied to it. 2011-04-17 12:47:20 +00:00
Sergey Sharybin
d00f664ee0 Fix #26989: Smooth tangent Iteration field in Curve panel not responding.
Not sure what's the uint of step argument for RNA_def_property_ui_range, but
i just set the same values as in other cases used (like Camera.draw_size)
2011-04-17 12:13:02 +00:00
Peter Schlaile
163dbded30 == Sequencer ==
Fixes Fix for [#25713] VSE shows and renders wrong straight alpha gradient even after convert to pr
(see revision: 34540, fix by Janne)

By not breaking the seqcache interface API.

Added comments to header file, so that it is easier to understand, how the
cache API is supposed to work.
2011-04-17 10:05:27 +00:00
M.G. Kishalmi
69f9104ea7 fix #26957
spotlights halo and intensity tooltip had "(buffer shadow)" in there,
while it works just fine with no-shadow and ray-shadow.

the volumetric "step" property is only visible with buffershadows
anyways.
2011-04-17 08:38:27 +00:00
Sergey Sharybin
11caf24c55 buildbot:
Use BF_NUMJOBS from user cinfigs rather than passing it as
command line argument.
2011-04-17 06:17:37 +00:00
Sergey Sharybin
bf591017b3 buildbot:
- use cores+1 threads
- do not clean build directories
- separate build directories for blender and blenderplayer

This should make compilation much faster and buildbot rebuild tag could
happen more often
2011-04-16 21:23:05 +00:00
Campbell Barton
99aec11acf changing the gl texture limit wasn't updating the displayed sizes. 2011-04-16 10:19:34 +00:00
Sergey Sharybin
dbf509237e Fix for IRC reported bug from Dalai:
Text editor used to add extra indentation when inserting new line from
line with dictionary. Also, fixed extra indentation when comma is inside string.
2011-04-16 09:58:50 +00:00
Campbell Barton
71f571a54d fix [#26955] GL Texture Size doesn't work.
Brecht: reverting this change you made r22532, which I cant see a reason for.
2011-04-16 09:26:45 +00:00
Campbell Barton
7f598451fc fix [#26906] Panorama Button (Camera Data Properties)
- render check for ortho/panorama combination wasn't working since the flags were not initialized at the time of checking.
- disable panorama button in ortho mode.
2011-04-15 12:08:17 +00:00
Campbell Barton
1fc9fabfbf possible fix [#26930] Blender 2.57 Shuts down when trying to edit 3D text
can't test but this avoids using strncat which is giving problems.
2011-04-15 03:47:54 +00:00
Campbell Barton
c8798090a7 style changes & replace some memset's with zero initializers. 2011-04-15 01:43:30 +00:00
Campbell Barton
a41c0c324a fix [#26937] Radio button text truncation should start at beginning of string
ensure start of text is always visible.

- also left in test for fix [#26933] which left it broken.
- quiet warning in AUD Py API.
2011-04-15 01:32:37 +00:00
Joseph Eagar
d3e4c2243d correct typo 2011-04-14 22:15:43 +00:00
Daniel Salazar
a4cc295000 float value reader in compositor backdrop (Alt + LMB Drag) should be 4 decimals like in image editor 2011-04-14 20:30:54 +00:00
Campbell Barton
5e26763b40 fix [#26933] Render Crash with Decimate Modifier 2011-04-14 17:22:05 +00:00
Campbell Barton
3ac68d7975 no functional change, avoid making stack arrays for the purpose of indexing. 2011-04-14 17:06:55 +00:00
Campbell Barton
d9c2497859 no functional change, avoid making a 4 pointer array just for an index lookup for tangents, orcos and normals. 2011-04-14 16:41:17 +00:00
Campbell Barton
5d850c16bf fix [#26902] Raytracing black dots
derivatives from reflected duplis were not taking object instance transformation into account.
2011-04-14 16:13:32 +00:00
Sergey Sharybin
31bd412447 Fix #26932: When I enable multires, and start sculpting, some parts of the mesh just disappears.
Redraw issue was caused due to different redraw rectangles used for 3d view redraw and
gathering PBVH nodes to be re-drawed. I moved redraw rect expansion with rect from
previous step into sculpt_get_redraw_rect, so now redrawing works as it was planned
some commits ago -- redraw everything to which is inside currect rectangle and rectangle
from previous stroke step -- this still prevents artifact caused by fast strokes but
mesh doesn't disappear.

Brecht, Nicholas: it's the simpliest fix i could suggest atm. I've got some more
ideas with additional node flags, but it looked more complicated for me and
made code more difficult to understand. If you could see something better (like
revert all this redraw fixes for fast strokes) please tell me.
2011-04-14 15:53:33 +00:00
Campbell Barton
5175d509ab fix [#26931] Shift+Alt+RMB only selects loops, can't deselect them - 2.57 official
own fault with fix [#26885] for selected edges having de-selected verts in some cases.
2011-04-14 15:03:28 +00:00
Campbell Barton
822debf304 fix for help menu docs linking to the wrong page, created a redirect so 2.57 release doesn't get 404's. 2011-04-14 14:13:04 +00:00
Campbell Barton
b1cc8ea18a incorrect documentation spotted by macouno. 2011-04-14 12:19:31 +00:00