10 years agobuildbot:
Sergey Sharybin [Thu, 21 Apr 2011 19:01:31 +0000 (19:01 +0000)]

Fixed typo for 64bit blenderplayer which caused undefined symbol gzopen64

10 years agobugfix [#27091] Add new vertex at wrong position ( bpy.ops.mesh.dupli_extrude_cursor...
Campbell Barton [Thu, 21 Apr 2011 18:33:30 +0000 (18:33 +0000)]
bugfix [#27091] Add new vertex at wrong position ( bpy.ops.mesh.dupli_extrude_cursor() ) 2

Ctrl+Click on mesh or curve view was using the selected points location or the cursors.
if either of these was behind the view it would add the point at (0, 0, 0).

now fallback to the view orbit pivot, added this option as an argument to view3d_get_view_aligned_coordinate().

10 years agopass even mouse coords value as const so its not edited, view3d_get_view_aligned_coor...
Campbell Barton [Thu, 21 Apr 2011 17:25:58 +0000 (17:25 +0000)]
pass even mouse coords value as const so its not edited, view3d_get_view_aligned_coordinate() could modify the event->mval.

10 years agoack, should have done this before tagging else will be incorrect.
Campbell Barton [Thu, 21 Apr 2011 16:16:12 +0000 (16:16 +0000)]
ack, should have done this before tagging else will be incorrect.

10 years agoconverted more mixed tab/space indentations to tabs. only whitespace changes.
Campbell Barton [Thu, 21 Apr 2011 15:53:30 +0000 (15:53 +0000)]
converted more mixed tab/space indentations to tabs. only whitespace changes.

10 years agowhitespace only, no functional change mixed tabs/spaces --> tabs. v2.57a
Campbell Barton [Thu, 21 Apr 2011 13:11:51 +0000 (13:11 +0000)]
whitespace only, no functional change mixed tabs/spaces --> tabs.

10 years agoBugfix [#27095] B-Bone doesn´t resize correctly with numeric input
Joshua Leung [Thu, 21 Apr 2011 12:48:07 +0000 (12:48 +0000)]
Bugfix [#27095] B-Bone doesn´t resize correctly with numeric input

B-Bone resizing was acting more like translation than resizing when using numeric input. Added the flag to set all xyz values to same value when using numeric input

10 years agopatch [#27094] Fix for property names in sunsky presets
Campbell Barton [Thu, 21 Apr 2011 12:14:10 +0000 (12:14 +0000)]
patch [#27094] Fix for property names in sunsky presets
from Ejner Fergo (ejnersan)

10 years agopatch [#27070] cmake fix for nmake builds
Campbell Barton [Thu, 21 Apr 2011 12:07:40 +0000 (12:07 +0000)]
patch [#27070] cmake fix for nmake builds

10 years agore-compress png's (save some space)
Campbell Barton [Thu, 21 Apr 2011 10:03:45 +0000 (10:03 +0000)]
re-compress png's (save some space)
  optipng -o7 -zw 512 -zm 9 -i0 *.png

10 years agoFix for fix for the bugfix :)
Ton Roosendaal [Thu, 21 Apr 2011 09:43:38 +0000 (09:43 +0000)]
Fix for fix for the bugfix :)

Just cleaned the code/order here and added comments why this works.
I should have known it... thanks Andrea for quick action!

10 years agofollowing on from last commit r36263.
Campbell Barton [Thu, 21 Apr 2011 09:38:09 +0000 (09:38 +0000)]
following on from last commit r36263.
copying metaball, lattice and armature datablocks while in editmode could segfault when they were freed, NULL these pointers on copy.

10 years agofix [#27096] Segmentation Fault trying to export DirectX with specific model
Campbell Barton [Thu, 21 Apr 2011 09:03:04 +0000 (09:03 +0000)]
fix [#27096] Segmentation Fault trying to export DirectX with specific model
copying a mesh in editmode didnt NULL the edit_mesh pointer.

10 years agoremove checks on deprecated multires pointer.
Campbell Barton [Thu, 21 Apr 2011 08:55:10 +0000 (08:55 +0000)]
remove checks on deprecated multires pointer.

10 years agocmake - install icons into $PREFIX/share/icons/hicolor/ rather then $PREFIX/share...
Campbell Barton [Thu, 21 Apr 2011 06:37:54 +0000 (06:37 +0000)]
cmake - install icons into $PREFIX/share/icons/hicolor/ rather then $PREFIX/share/pixmaps/, also move blender icon into 'apps' dir.

10 years agopatch from Jakub Steiner for freedesktop icons [#27086] install a high resolution...
Campbell Barton [Thu, 21 Apr 2011 06:27:39 +0000 (06:27 +0000)]
patch from Jakub Steiner for freedesktop icons [#27086] install a high resolution launcher icon

10 years agominor changes
Campbell Barton [Thu, 21 Apr 2011 05:49:47 +0000 (05:49 +0000)]
minor changes
- remove some warnings
- fix typos
- cmake allow in-source build (when WITH_IN_SOURCE_BUILD is defined)
- cmake, use an explicit list of rna files (don't glob)

10 years agoBugfix [#27090] Available keying set fails in armature pose mode
Joshua Leung [Thu, 21 Apr 2011 01:21:28 +0000 (01:21 +0000)]
Bugfix [#27090] Available keying set fails in armature pose mode

A change in the poll callback that Available KeyingSet used to use
restricted its use to Object-mode only, while this could also be
useful in Pose Mode (though it would only affect all channels there).

Made this use a custom poll callback now that tests for whether the
active object has an action. This does mean that if you select a bunch
of objects with animation data, but the active object doesn't have it,
then the keyingset will fail to fire, but that's been marked as a todo
in the code.

10 years agofix [#27084] Crash when chosing non-voxel data file in voxel data texture input
Campbell Barton [Thu, 21 Apr 2011 00:28:05 +0000 (00:28 +0000)]
fix [#27084] Crash when chosing non-voxel data file in voxel data texture input
also found loading voxel textures wasn't closing files it opened.

10 years agofix [#27083] Crash on setting Voxel resolution below -3 in 8bit raw texture settings
Campbell Barton [Wed, 20 Apr 2011 23:21:26 +0000 (23:21 +0000)]
fix [#27083] Crash on setting Voxel resolution below -3 in 8bit raw texture settings

10 years agofix crash with lots of operators when running "blender -d". Easy case to reproduce...
Andrea Weikert [Wed, 20 Apr 2011 20:46:02 +0000 (20:46 +0000)]
fix crash with lots of operators when running "blender -d". Easy case to reproduce, just try to delete default cube.

Temporary hack to prevent crasher, likely caused by rev. 36242.

10 years agoInternal need_exec tagging for group nodes, fixes #27034. Non-compositor node trees...
Lukas Toenne [Wed, 20 Apr 2011 20:31:43 +0000 (20:31 +0000)]
Internal need_exec tagging for group nodes, fixes #27034. Non-compositor node trees (texture and material) only use the need_exec flag to exclude cyclic dependencies, ugly double use of that flag. Oh well, hopefully can replace this altogether one day ;)

10 years agoBug fix: "make fur" gave errors with multiple selected objects.
Janne Karhu [Wed, 20 Apr 2011 17:51:56 +0000 (17:51 +0000)]
Bug fix: "make fur" gave errors with multiple selected objects.
* Also some code changes for "make smoke" and "make fluid" to suppress some python messages that were printed to the console.

10 years agoFix for [#27075] Explode Modifier - Apply as Shape impossible
Janne Karhu [Wed, 20 Apr 2011 17:15:33 +0000 (17:15 +0000)]
Fix for [#27075] Explode Modifier - Apply as Shape impossible
* Explode modifier was flagged as "nonconstructive", so the "apply as shape" option was shown. And yes I know exploding things probably isn't usually considered as very constructive, but.. :P

10 years agoBugfix #27026
Ton Roosendaal [Wed, 20 Apr 2011 16:19:49 +0000 (16:19 +0000)]
Bugfix #27026

Outliner objects showed "active" or "selected" in confusing
ways. Now the display is simply binary, and more in line with
how other items in outliner draw:

- text is white = item is active
- color circle behind icon: shows selection state

10 years agoupdate tooltip since this fixes paths from newer versions.
Campbell Barton [Wed, 20 Apr 2011 14:47:00 +0000 (14:47 +0000)]
update tooltip since this fixes paths from newer versions.

10 years agofix [#27072] Calling bpy.utils.blend_paths(True) results in segmantaion fault since...
Campbell Barton [Wed, 20 Apr 2011 12:55:42 +0000 (12:55 +0000)]
fix [#27072] Calling bpy.utils.blend_paths(True) results in segmantaion fault since 2.56

10 years agoBugfix #27044
Ton Roosendaal [Wed, 20 Apr 2011 12:30:13 +0000 (12:30 +0000)]
Bugfix #27044

Enter or exit localview changes bitflags (layers) in Objects, and should get an
undo push for that reason.

10 years agoavoid calling newdataadr() on NULL vertex groups, gives a small speedup on loading...
Campbell Barton [Wed, 20 Apr 2011 12:06:23 +0000 (12:06 +0000)]
avoid calling newdataadr() on NULL vertex groups, gives a small speedup on loading with files that have many empty groups.

10 years agoFix [#26884] Console is not hidden when start blender
Nathan Letwory [Wed, 20 Apr 2011 12:04:07 +0000 (12:04 +0000)]
Fix [#26884] Console is not hidden when start blender
reported by Michael R

Don't print the error message, as it isn't very useful. If there is no Quicktime in Blender GUI in a build that has support enabled, it means that the user hasn't installed Quicktime.

10 years agoBugfix #27058
Ton Roosendaal [Wed, 20 Apr 2011 11:15:58 +0000 (11:15 +0000)]
Bugfix #27058

Top bar: Add -> Mesh -> UV Sphere + Enter crashed.
It didn't crash with leftmouse, but that was coincidentally working.

Menus were freeing modal handlers in Window, while handlers were still
in use. Fix provides to tag handlers for being freed now.

Will add on my attention list for more elaborate checking work here, for
upcoming 2.57a I rather stick to minimal change in code here.

10 years agotested with a very large blend file 600mb. - from [#27002].
Campbell Barton [Wed, 20 Apr 2011 10:50:56 +0000 (10:50 +0000)]
tested with a very large blend file 600mb. - from [#27002].

without this check the file took 4m, 40sec to load, with the check it takes ~3.3sec.

10 years agoBugfix [#27054] 2.57 icons and buttons aren't perfectly centered
Joshua Leung [Wed, 20 Apr 2011 10:10:07 +0000 (10:10 +0000)]
Bugfix [#27054] 2.57 icons and buttons aren't perfectly centered

This seems to make things look a bit better. What a difference 1px

10 years agoUpgrade for pixel color info in image editor and compositor backdrop. Next to the...
Lukas Toenne [Wed, 20 Apr 2011 09:49:32 +0000 (09:49 +0000)]
Upgrade for pixel color info in image editor and compositor backdrop. Next to the RGB color values there is now a small rectangle displaying the actual color under the mouse cursor. In addition to that the HSV and luminance values are also displayed.

10 years agowhile looking into [#27057] noticed when the view and the transform center are 0...
Campbell Barton [Wed, 20 Apr 2011 09:46:45 +0000 (09:46 +0000)]
while looking into [#27057] noticed when the view and the transform center are 0,0,0 it gives NAN values.

10 years agoThis was causing too many problems. Better to just not enable this for
Joshua Leung [Wed, 20 Apr 2011 09:41:44 +0000 (09:41 +0000)]
This was causing too many problems. Better to just not enable this for
now. There are really many good uses for this anyway.

10 years agoFix #27014: ctrl-A, ctrl-C, ctrl-V breaks formatting of script
Sergey Sharybin [Wed, 20 Apr 2011 07:44:42 +0000 (07:44 +0000)]
Fix #27014: ctrl-A, ctrl-C, ctrl-V breaks formatting of script

This bug was caused by tabs->spaces conversion. Change pate-ing logic to
paste buffer AS-IS (without any conversions).

This commit also fixes undo-ing  block deletion which contains tabs when
"Tabs as spaces" is toggled on. Also, markes shouldn't be moved after
pasteing new buffer.

10 years agoedit definitions to use const for non modified args, also correct incorrect definitio...
Campbell Barton [Wed, 20 Apr 2011 06:47:16 +0000 (06:47 +0000)]
edit definitions to use const for non modified args, also correct incorrect definition for clip_line_plane().

10 years agoBugfix for #26795 and #26917, Fix a bug that cause the radar sensor to break
Erwin Coumans [Wed, 20 Apr 2011 04:55:58 +0000 (04:55 +0000)]
Bugfix for #26795 and #26917, Fix a bug that cause the radar sensor to break
Never memset(&ob, 0,sizeof(class)) when there is a constructor, it overrides all memory.
The problem was that the memset(0) was setting the scaling to (0,0,0), the height of the cone became 'infinity'
so GJK would iterate 'MAX_ITER' without converging due to this #NAN value

10 years agofix [#27006] Apply Scale at a B-Bone Skeleton causes rescale of B-Bones and offset...
Campbell Barton [Wed, 20 Apr 2011 04:11:12 +0000 (04:11 +0000)]
fix [#27006] Apply Scale at a B-Bone Skeleton causes rescale of B-Bones and offset of attached objects

10 years agobugfix where separating the armature would also separate the active-unselected bone...
Campbell Barton [Wed, 20 Apr 2011 03:05:19 +0000 (03:05 +0000)]
bugfix where separating the armature would also separate the active-unselected bone because editmode enabled the selection when toggled.

10 years agominor cleanup & replace inline armature separate pchan searches with BLI_findstring...
Campbell Barton [Wed, 20 Apr 2011 02:56:51 +0000 (02:56 +0000)]
minor cleanup & replace inline armature separate pchan searches with BLI_findstring(), no functional changes.

10 years agofix for crash when loading testfile from report [#27002].
Campbell Barton [Wed, 20 Apr 2011 01:21:55 +0000 (01:21 +0000)]
fix for crash when loading testfile from report [#27002].
error in r36222, also move AnimData *adt definitions inline to ensure they don't get mis-used across different ID types.

10 years agofix [#26967] separate mesh with p crashes blender
Campbell Barton [Tue, 19 Apr 2011 23:52:14 +0000 (23:52 +0000)]
fix [#26967] separate mesh with p crashes blender
copying ID properties assumed each property was allocated separately which isnt the case for IDP_Arrays.

10 years agoFix for [#27038] Bugs when linking particles/collision/softbody modifiers
Janne Karhu [Tue, 19 Apr 2011 16:30:55 +0000 (16:30 +0000)]
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

10 years agoCorrected updating inside edited groups, fix for #27018. This was caused by edit...
Lukas Toenne [Tue, 19 Apr 2011 15:15:50 +0000 (15:15 +0000)]
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.

10 years agoBugfix 26936
Ton Roosendaal [Tue, 19 Apr 2011 14:36:26 +0000 (14:36 +0000)]
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.

10 years agoBugfix [#25960] .1 Action Editor header doesn't update when entering
Joshua Leung [Tue, 19 Apr 2011 13:17:16 +0000 (13:17 +0000)]
Bugfix [#25960] .1 Action Editor header doesn't update when entering
tweakmode on NLA Strips

10 years agoFix for [#27008] Replacing particle hair with group objects - viewport does not match...
Janne Karhu [Tue, 19 Apr 2011 13:06:08 +0000 (13:06 +0000)]
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.

10 years agoWhitespace/typos
Joshua Leung [Tue, 19 Apr 2011 13:02:49 +0000 (13:02 +0000)]

10 years agoBugfix [#25960] Action/NLA Editor issues with animdata context
Joshua Leung [Tue, 19 Apr 2011 13:01:50 +0000 (13:01 +0000)]
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.

10 years agoBugfix #26977 + Patch by Harley Acheson
Ton Roosendaal [Tue, 19 Apr 2011 11:17:29 +0000 (11:17 +0000)]
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.

10 years agopatch [#26978] Minor Spelling Mistakes in Editor Operators
Campbell Barton [Tue, 19 Apr 2011 10:35:24 +0000 (10:35 +0000)]
patch [#26978] Minor Spelling Mistakes in Editor Operators
+ some errors I noticed.

10 years agoSome strings to store ID names were too small, could cause stack corruption.
Campbell Barton [Tue, 19 Apr 2011 06:59:49 +0000 (06:59 +0000)]
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'.

10 years agonoticed a problem with rendering non-active scenes in the node editor.
Campbell Barton [Tue, 19 Apr 2011 06:37:29 +0000 (06:37 +0000)]
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.

10 years agofix [#26900] Problem with active camera between scenes
Campbell Barton [Tue, 19 Apr 2011 06:15:13 +0000 (06:15 +0000)]
fix [#26900] Problem with active camera between scenes

10 years agofix [#27016] Add new vertex at wrong position ( bpy.ops.mesh.dupli_extrude_cursor() )
Campbell Barton [Tue, 19 Apr 2011 05:34:05 +0000 (05:34 +0000)]
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.

10 years agofix [#27011] executing a script crashes Blender
Campbell Barton [Tue, 19 Apr 2011 04:19:09 +0000 (04:19 +0000)]
fix [#27011] executing a script crashes Blender

10 years agofix [#27015] RNA Bug: Unpacking sounds with a long ID name fails: sound ID length...
Campbell Barton [Mon, 18 Apr 2011 15:20:19 +0000 (15:20 +0000)]
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.

10 years agoFix for [#26990] Loading file w packed audio crashes
Joerg Mueller [Mon, 18 Apr 2011 14:24:36 +0000 (14:24 +0000)]
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

10 years agoBugfix #26901
Ton Roosendaal [Mon, 18 Apr 2011 11:22:01 +0000 (11:22 +0000)]
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.

10 years agofix for part of this report [#27006] Apply Scale at a B-Bone Skeleton causes rescale...
Campbell Barton [Mon, 18 Apr 2011 10:40:06 +0000 (10:40 +0000)]
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.

10 years agocorrection for windows.
Campbell Barton [Mon, 18 Apr 2011 10:18:35 +0000 (10:18 +0000)]
correction for windows.

10 years agoFix for [#26949] problems opening 2.49 files with audio (relative path problems?)
Joerg Mueller [Mon, 18 Apr 2011 10:04:28 +0000 (10:04 +0000)]
Fix for [#26949] problems opening 2.49 files with audio (relative path problems?)
When I wrote that code wasn't set correctly and I had to use; now it seems to be the other way round :-)

10 years agofix [#26951] blenderplayer and runtimes will not load
Campbell Barton [Mon, 18 Apr 2011 08:27:50 +0000 (08:27 +0000)]
fix [#26951] blenderplayer and runtimes will not load
blenderplayer wasn't finding bundled python, eg: ./2.57/python/lib

10 years agocmake
Campbell Barton [Mon, 18 Apr 2011 07:11:40 +0000 (07:11 +0000)]
- 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.

10 years agofix for own mistake in recent commit: [#27000] Spotlight spot shape size, lamp object...
Campbell Barton [Mon, 18 Apr 2011 03:27:15 +0000 (03:27 +0000)]
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.

10 years agoobject.collision was allocating on access for all object types - camera could get...
Campbell Barton [Mon, 18 Apr 2011 01:45:28 +0000 (01:45 +0000)]
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.

10 years agofix [#26995] Crash on bpy.context.object.collision
Campbell Barton [Mon, 18 Apr 2011 01:40:45 +0000 (01:40 +0000)]
fix [#26995] Crash on bpy.context.object.collision
  use object.collision rather then object.modifiers[...].settings

10 years agoFix [#26896] Displace Node crashes Blender when connected to Z-Buffer
Matt Ebb [Sun, 17 Apr 2011 22:47:23 +0000 (22:47 +0000)]
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,

10 years agoCommitting patch [#26960] bu MiikaH, fixes bug:
Matt Ebb [Sun, 17 Apr 2011 22:11:23 +0000 (22:11 +0000)]
Committing patch [#26960] bu MiikaH, fixes bug:
[#26945] Hue Correct doesn't Hue But Rather Saturate


10 years agochange unit evaluation only to do try the units replacements if evaluating with pytho...
Campbell Barton [Sun, 17 Apr 2011 12:47:20 +0000 (12:47 +0000)]
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.

10 years agoFix #26989: Smooth tangent Iteration field in Curve panel not responding.
Sergey Sharybin [Sun, 17 Apr 2011 12:13:02 +0000 (12:13 +0000)]
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)

10 years ago== Sequencer ==
Peter Schlaile [Sun, 17 Apr 2011 10:05:27 +0000 (10:05 +0000)]
== 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.

10 years agofix #26957
M.G. Kishalmi [Sun, 17 Apr 2011 08:38:27 +0000 (08:38 +0000)]
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

10 years agobuildbot:
Sergey Sharybin [Sun, 17 Apr 2011 06:17:37 +0000 (06:17 +0000)]

Use BF_NUMJOBS from user cinfigs rather than passing it as
command line argument.

10 years agobuildbot:
Sergey Sharybin [Sat, 16 Apr 2011 21:23:05 +0000 (21:23 +0000)]
- 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

10 years agochanging the gl texture limit wasn't updating the displayed sizes.
Campbell Barton [Sat, 16 Apr 2011 10:19:34 +0000 (10:19 +0000)]
changing the gl texture limit wasn't updating the displayed sizes.

10 years agoFix for IRC reported bug from Dalai:
Sergey Sharybin [Sat, 16 Apr 2011 09:58:50 +0000 (09:58 +0000)]
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.

10 years agofix [#26955] GL Texture Size doesn't work.
Campbell Barton [Sat, 16 Apr 2011 09:26:45 +0000 (09:26 +0000)]
fix [#26955] GL Texture Size doesn't work.
Brecht: reverting this change you made r22532, which I cant see a reason for.

10 years agofix [#26906] Panorama Button (Camera Data Properties)
Campbell Barton [Fri, 15 Apr 2011 12:08:17 +0000 (12:08 +0000)]
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.

10 years agopossible fix [#26930] Blender 2.57 Shuts down when trying to edit 3D text
Campbell Barton [Fri, 15 Apr 2011 03:47:54 +0000 (03:47 +0000)]
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.

10 years agostyle changes & replace some memset's with zero initializers.
Campbell Barton [Fri, 15 Apr 2011 01:43:30 +0000 (01:43 +0000)]
style changes & replace some memset's with zero initializers.

10 years agofix [#26937] Radio button text truncation should start at beginning of string
Campbell Barton [Fri, 15 Apr 2011 01:32:37 +0000 (01:32 +0000)]
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.

10 years agocorrect typo
Joseph Eagar [Thu, 14 Apr 2011 22:15:43 +0000 (22:15 +0000)]
correct typo

10 years agofloat value reader in compositor backdrop (Alt + LMB Drag) should be 4 decimals like...
Daniel Salazar [Thu, 14 Apr 2011 20:30:54 +0000 (20:30 +0000)]
float value reader in compositor backdrop (Alt + LMB Drag) should be 4 decimals like in image editor

10 years agofix [#26933] Render Crash with Decimate Modifier
Campbell Barton [Thu, 14 Apr 2011 17:22:05 +0000 (17:22 +0000)]
fix [#26933] Render Crash with Decimate Modifier

10 years agono functional change, avoid making stack arrays for the purpose of indexing.
Campbell Barton [Thu, 14 Apr 2011 17:06:55 +0000 (17:06 +0000)]
no functional change, avoid making stack arrays for the purpose of indexing.

10 years agono functional change, avoid making a 4 pointer array just for an index lookup for...
Campbell Barton [Thu, 14 Apr 2011 16:41:17 +0000 (16:41 +0000)]
no functional change, avoid making a 4 pointer array just for an index lookup for tangents, orcos and normals.

10 years agofix [#26902] Raytracing black dots
Campbell Barton [Thu, 14 Apr 2011 16:13:32 +0000 (16:13 +0000)]
fix [#26902] Raytracing black dots
derivatives from reflected duplis were not taking object instance transformation into account.

10 years agoFix #26932: When I enable multires, and start sculpting, some parts of the mesh just...
Sergey Sharybin [Thu, 14 Apr 2011 15:53:33 +0000 (15:53 +0000)]
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.

10 years agofix [#26931] Shift+Alt+RMB only selects loops, can't deselect them - 2.57 official
Campbell Barton [Thu, 14 Apr 2011 15:03:28 +0000 (15:03 +0000)]
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.

10 years agofix for help menu docs linking to the wrong page, created a redirect so 2.57 release...
Campbell Barton [Thu, 14 Apr 2011 14:13:04 +0000 (14:13 +0000)]
fix for help menu docs linking to the wrong page, created a redirect so 2.57 release doesn't get 404's.

10 years agoincorrect documentation spotted by macouno.
Campbell Barton [Thu, 14 Apr 2011 12:19:31 +0000 (12:19 +0000)]
incorrect documentation spotted by macouno.

10 years agoapi to support different kinds of relative paths on export, including copying the...
Campbell Barton [Thu, 14 Apr 2011 08:47:47 +0000 (08:47 +0000)]
api to support different kinds of relative paths on export, including copying the files to a subdir.

10 years agoA better fix than r36151 for the Grease Pencil drawing issues in the
Joshua Leung [Thu, 14 Apr 2011 04:22:52 +0000 (04:22 +0000)]
A better fix than r36151 for the Grease Pencil drawing issues in the
Image Editor.

There's already a flag in use for tagging the "special drawing in
Image Editor" case, so make use of that now.
Most of the changes here are just whitespace tweaks...

10 years agowork-around for grease pencil single points in the image view drawing really large...
Campbell Barton [Wed, 13 Apr 2011 15:30:26 +0000 (15:30 +0000)]
work-around for grease pencil single points in the image view drawing really large (bigger then the image).

10 years agominor improvements to sphinx doc main page
Campbell Barton [Wed, 13 Apr 2011 14:43:11 +0000 (14:43 +0000)]
minor improvements to sphinx doc main page

10 years agofix [#26904] Crush while open file !
Campbell Barton [Wed, 13 Apr 2011 14:40:50 +0000 (14:40 +0000)]
fix [#26904] Crush while open file !
commit r28002 was attempting to run do-versions on an invalid pointer.

10 years agoRemove unnecessary lines. v2.57
Nathan Letwory [Wed, 13 Apr 2011 09:09:37 +0000 (09:09 +0000)]
Remove unnecessary lines.