Commit Graph

29613 Commits

Author SHA1 Message Date
Sergey Sharybin
05c7db95b6 buildbot:
Fixed typo for 64bit blenderplayer which caused undefined symbol gzopen64
2011-04-21 19:01:31 +00:00
Campbell Barton
b52637270d 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().
2011-04-21 18:33:30 +00:00
Campbell Barton
284a0d3610 pass even mouse coords value as const so its not edited, view3d_get_view_aligned_coordinate() could modify the event->mval. 2011-04-21 17:25:58 +00:00
Campbell Barton
9646f8e5b1 ack, should have done this before tagging else bpy.app.version_char will be incorrect. 2011-04-21 16:16:12 +00:00
Campbell Barton
f9f771cd01 converted more mixed tab/space indentations to tabs. only whitespace changes. 2011-04-21 15:53:30 +00:00
Campbell Barton
210ee1ade4 whitespace only, no functional change mixed tabs/spaces --> tabs. 2011-04-21 13:11:51 +00:00
Joshua Leung
2e9982f420 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
2011-04-21 12:48:07 +00:00
Campbell Barton
c7536d558b patch [#27094] Fix for property names in sunsky presets
from Ejner Fergo (ejnersan)
2011-04-21 12:14:10 +00:00
Campbell Barton
aa7106e4cb patch [#27070] cmake fix for nmake builds 2011-04-21 12:07:40 +00:00
Campbell Barton
96d04bd9ea re-compress png's (save some space)
optipng -o7 -zw 512 -zm 9 -i0 *.png
2011-04-21 10:03:45 +00:00
Ton Roosendaal
c605091b09 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!
2011-04-21 09:43:38 +00:00
Campbell Barton
20d3022076 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.
2011-04-21 09:38:09 +00:00
Campbell Barton
62a02764ab fix [#27096] Segmentation Fault trying to export DirectX with specific model
copying a mesh in editmode didnt NULL the edit_mesh pointer.
2011-04-21 09:03:04 +00:00
Campbell Barton
cb06c4eee1 remove checks on deprecated multires pointer. 2011-04-21 08:55:10 +00:00
Campbell Barton
c3d1e1f3e9 cmake - install icons into $PREFIX/share/icons/hicolor/ rather then $PREFIX/share/pixmaps/, also move blender icon into 'apps' dir. 2011-04-21 06:37:54 +00:00
Campbell Barton
817c6eebe4 patch from Jakub Steiner for freedesktop icons [#27086] install a high resolution launcher icon 2011-04-21 06:27:39 +00:00
Campbell Barton
6bb626f253 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)
2011-04-21 05:49:47 +00:00
Joshua Leung
18e4f7de4f 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.
2011-04-21 01:21:28 +00:00
Campbell Barton
26916206f8 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.
2011-04-21 00:28:05 +00:00
Campbell Barton
831cc31482 fix [#27083] Crash on setting Voxel resolution below -3 in 8bit raw texture settings 2011-04-20 23:21:26 +00:00
Andrea Weikert
2d9c94604a 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.
2011-04-20 20:46:02 +00:00
Lukas Toenne
a6c2d8680b 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 ;) 2011-04-20 20:31:43 +00:00
Janne Karhu
290a641c32 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.
2011-04-20 17:51:56 +00:00
Janne Karhu
66b605ec93 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
2011-04-20 17:15:33 +00:00
Ton Roosendaal
5bd110c6ba 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
2011-04-20 16:19:49 +00:00
Campbell Barton
8a7dce5301 update tooltip since this fixes paths from newer versions. 2011-04-20 14:47:00 +00:00
Campbell Barton
7e3d044bdd fix [#27072] Calling bpy.utils.blend_paths(True) results in segmantaion fault since 2.56 2011-04-20 12:55:42 +00:00
Ton Roosendaal
85480f320f Bugfix #27044
Enter or exit localview changes bitflags (layers) in Objects, and should get an
undo push for that reason.
2011-04-20 12:30:13 +00:00
Campbell Barton
7a7df3bfe8 avoid calling newdataadr() on NULL vertex groups, gives a small speedup on loading with files that have many empty groups. 2011-04-20 12:06:23 +00:00
Nathan Letwory
01fced7e35 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.
2011-04-20 12:04:07 +00:00
Ton Roosendaal
069a3c193c 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.
2011-04-20 11:15:58 +00:00
Campbell Barton
141be02c90 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.
2011-04-20 10:50:56 +00:00
Joshua Leung
a4ebe848d9 Bugfix [#27054] 2.57 icons and buttons aren't perfectly centered
This seems to make things look a bit better. What a difference 1px
makes...
2011-04-20 10:10:07 +00:00
Lukas Toenne
38a192031f 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. 2011-04-20 09:49:32 +00:00
Campbell Barton
0da889dff5 while looking into [#27057] noticed when the view and the transform center are 0,0,0 it gives NAN values. 2011-04-20 09:46:45 +00:00
Joshua Leung
e0a81dd1a8 This was causing too many problems. Better to just not enable this for
now. There are really many good uses for this anyway.
2011-04-20 09:41:44 +00:00
Sergey Sharybin
661d6ff7e5 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.
2011-04-20 07:44:42 +00:00
Campbell Barton
66f5ac408e edit definitions to use const for non modified args, also correct incorrect definition for clip_line_plane(). 2011-04-20 06:47:16 +00:00
Erwin Coumans
b5a2d7f15e 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
2011-04-20 04:55:58 +00:00
Campbell Barton
37fcffd0ac fix [#27006] Apply Scale at a B-Bone Skeleton causes rescale of B-Bones and offset of attached objects 2011-04-20 04:11:12 +00:00
Campbell Barton
791aa327e1 bugfix where separating the armature would also separate the active-unselected bone because editmode enabled the selection when toggled. 2011-04-20 03:05:19 +00:00
Campbell Barton
33b8d53224 minor cleanup & replace inline armature separate pchan searches with BLI_findstring(), no functional changes. 2011-04-20 02:56:51 +00:00
Campbell Barton
6931decd23 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.
2011-04-20 01:21:55 +00:00
Campbell Barton
fde9ecbfbd fix [#26967] separate mesh with p crashes blender
copying ID properties assumed each property was allocated separately which isnt the case for IDP_Arrays.
2011-04-19 23:52:14 +00:00
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