Sergey Sharybin
d30cd92014
- Fixed dead-lock when subviding curve
...
- Hard-limit for cuts number is set to INT_MAX, soft limit to 10 (same as for meshes)
2010-12-05 07:08:14 +00:00
Campbell Barton
5f8eb5c069
use constant strings for outliner menus rather then sprint'ing them together.
2010-12-05 06:40:47 +00:00
Campbell Barton
8a65538fe0
fix for camera border going outside the clipping range while in camera view.
2010-12-05 02:16:01 +00:00
Janne Karhu
8c467a9c8a
Fix for [ #25036 ] boids particle from 2.49 opened in 2.5 is crash !?
...
* Old boids didn't have all of the necessary data for the new system.
* Changed the particles code so that a check for all necessary data is always done before starting actual dynamics calculations.
2010-12-05 01:48:49 +00:00
Campbell Barton
55e3d499ae
correction to r33469, operators return sets so string comparison isn't valid.
2010-12-05 00:08:25 +00:00
Sergey Sharybin
a3bac149a1
Fixed memory leak in thumbnail_joblist_free: last image in loadimages weren't
...
freed even if it's not copied to the filelist
2010-12-04 18:34:31 +00:00
Ton Roosendaal
b3eea07e84
IRC report:
...
Adding mesh primitive circle/cone/tube now has first vertex
on top. Looks much nicer on low vertex totals.
Fix provided by Mario G Kishalmi, thanks!
2010-12-04 16:02:04 +00:00
Ton Roosendaal
cadd08b16f
Bug fix #21900
...
Issue with Library linking: if you already have libraries linked in,
and you attempt to link more data, using internally already linked
stuff (like a group with group links) the linkage would fail. It did
resolve on save-load though.
There's a long commented history in this code explaining it. I found
out it was because of manual step-by-step linking versus normal file
reads. In the first case, the "lib pointer map" was missing references.
2010-12-04 15:45:16 +00:00
Damien Plisson
5150884550
Cocoa : fix drag and drop was no more operational after having fullscreened the window
2010-12-04 14:26:45 +00:00
Ton Roosendaal
282910fdae
Bugfix #21893
...
Python Operator "Delete Edge Loop" (which keeps mesh connected)
changed selection if sliding operator failed. Simply added a
check for return value. Gosh, that Python code is not bad ;)
2010-12-04 13:46:25 +00:00
Campbell Barton
fa4bbbb249
Maintenance,
...
- remove some redundant declarations
- changed VertexTangent and Path structs to avoid compiler alignment padding.
2010-12-04 13:00:28 +00:00
Ton Roosendaal
4dc59fff28
Bugfix #24699
...
Crash when deleting Shapekeys, while Graph or Dopesheet was visible.
Caused by RNA collection lookup, which is not checking against index
out of range errors.
Brecht might have to give blessings for this though :)
2010-12-04 12:33:45 +00:00
Campbell Barton
0271ad6322
Give functions that use printf style formatting GCC format attributes so if incorrect formatting is used the compiler will warn of this.
...
found & fixed 2x incorrect formatting args.
2010-12-04 11:44:56 +00:00
Ton Roosendaal
471d304df1
Bugfix #25033
...
Texture face options like "two side" were invisible, unless the
top bar "render engine" was set to Game Engine.
This is confusing, since 3d window does draw these options well.
Added back panel to show default, but with a label warning that
the options are not supported for render.
2010-12-04 11:34:26 +00:00
Campbell Barton
47ca7a5f39
disallow setting RNA attributes while drawing, this is bad practice so enforcing here has the benifit of making sure people are not manipulating blender scene data in a drawing panel for eg.
...
This is ifdef'd and may be disabled later on, or only enabled in debug mode.
This applies to setting any RNA value that has an ID and is not a screen or window-manager datablock.
Some addons break this rule and need fixing but from my tests blender UI scripts are ok.
2010-12-04 06:25:36 +00:00
Campbell Barton
627e56b614
minor changes to bone UI script.
2010-12-04 06:21:08 +00:00
Campbell Barton
fe67fc6459
fix for strict prototype error.
2010-12-04 05:34:16 +00:00
Campbell Barton
60fad4c955
own mistake made r33442, was returning the pose channel, rather then its bone.
2010-12-04 01:11:50 +00:00
Campbell Barton
9dbb31383f
remove shadowed definitions but keep them as zero this time.
2010-12-03 23:55:10 +00:00
Ton Roosendaal
0559f4f3e7
Const conflict in PIL_dynlib_find_symbol
...
Thanks wiseman!
2010-12-03 19:42:40 +00:00
Ton Roosendaal
1ebfb545ee
Bugfix #2508
...
Campbell's cleanup commit 33442 today broke axes drawing.
Restored code.
2010-12-03 19:29:05 +00:00
Ton Roosendaal
c8f80fffba
IRC fix:
...
Curve editmode was missing hotkey for operator "Select Inverse"
Is now added like Mesh, CTRL+I
Thanks lmg!
2010-12-03 18:49:38 +00:00
Ton Roosendaal
b036437a5b
IRC bug report
...
Text editor, "Add new" caused zero-user block.
The claim in the code why it should be decreased is dubious.
Thanks wiseman!
2010-12-03 18:39:40 +00:00
Ton Roosendaal
5ae3c5d321
Irx report:
...
Missing void declarator in init ffmpg (appears to be error now).
Thanks lmg!
2010-12-03 18:35:10 +00:00
Ton Roosendaal
45922c9150
Bugfix #24568
...
The old blocking "time cursor" wasn't working anymore.
Commit 32798 overlooked that the initialization was
needed.
Now bakes show it again. Note to self: it seems to flash
slightly (like 2.49), need to check on it one day.
2010-12-03 18:26:42 +00:00
Ton Roosendaal
990b487c73
Bugfix #25026
...
Nurbs edit: 'switch order' crashed when order was higher than amount of
points.
2010-12-03 17:31:34 +00:00
Campbell Barton
263830f000
Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for 'const char's,.
...
Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
2010-12-03 17:05:21 +00:00
Campbell Barton
7c86a1a95c
compile fixes for mingw32.
2010-12-03 16:45:04 +00:00
Sergey Sharybin
a21c639529
Fix for compilation error caused by strict prototype checking
2010-12-03 14:35:10 +00:00
Sergey Sharybin
8934b61739
Fix #25017 : Bezier Curve Deform Twisting after adding Shape Keys
...
- Invalid step was used in curve_applyKeyVertexTilts
- Minor cleanup in editcurve stuff
2010-12-03 14:35:03 +00:00
Ton Roosendaal
52edaae9c5
Bugfix #20565
...
Material Node shaders: displaying GLSL + rendering previews crashed.
Reason was non-safe threaded access to material nodes. Now, on a preview
render, a full copy of Material is being made.
2010-12-03 14:26:03 +00:00
Campbell Barton
cd97253502
- added GCC warning -Wstrict-prototypes
...
- fixed bug in paste material, exposed by stricter warnings.
- removed/renamed various shadowed vars.
- removed BGE lamp.colour, only allow lamp.color attribute.
2010-12-03 12:30:59 +00:00
Janne Karhu
aca76ddb50
Fix for [ #24899 ] Sequence Transform strips don't apply animation properly to scale.
...
* Rendering a scene strip updated all animation data to it's frame, so fcurves were left with the wrong value.
* Now the animation data is recalculated to original frame after rendering each scene strip.
2010-12-03 12:08:59 +00:00
Daniel Salazar
9295a53022
Align Objects operator was broken due to incorrect order of vector by
...
matrix multiplication
2010-12-03 11:05:36 +00:00
Campbell Barton
cfc1b133f6
updates to patch from Dan Eicher, allow adding a NodeGroup through bpy.data.node_groups.new(name, type)
...
made some minor changes.
2010-12-03 03:44:39 +00:00
Campbell Barton
892b3fbe17
fix [ #24938 ] Seed value on Particle settings gives Error when trying to insert key.
2010-12-03 02:24:21 +00:00
Campbell Barton
b45c3363fd
fix for some pedantic warnings.
2010-12-03 01:52:28 +00:00
Campbell Barton
9e5577db47
fix [ #25015 ] Ctrl+L linking to scene list does not scroll when the list is larger than screen resolution
2010-12-02 22:58:23 +00:00
Campbell Barton
cbab6a742f
correction to error message from Dan Eicher
2010-12-02 21:55:55 +00:00
Campbell Barton
287325af35
fix [ #24586 ] Report mode of console does not show proper cariage returns.
...
use the line iterator to split up newlines.
2010-12-02 21:48:46 +00:00
Campbell Barton
de0b41588a
fix crash when report timer was set but no usable error reports were found.
2010-12-02 21:40:39 +00:00
Doug Hammond
3a88d96aa2
extensions_framework: fix bug that would create extra UI space when entire row is hidden. May not be the most efficient implementation, however it is working properly now.
2010-12-02 19:03:24 +00:00
Ton Roosendaal
f94dd65999
Bugfix #25010
...
When loading files without UI (quit.blend) you got memory-free errors
for fileselect. Pointers were NULLed where not needed.
2010-12-02 18:27:04 +00:00
Guillermo S. Romero
1656366903
Update include paths for fonts in image stat display (rev33422).
2010-12-02 17:30:28 +00:00
Ton Roosendaal
30179f4dc6
IRC comment fix:
...
Option "free all texture-images" after render, was also
freeing unsaved painted images. Now it skips them.
2010-12-02 16:12:55 +00:00
Janne Karhu
5ca7c1b0f8
Fix for [ #25006 ] Particle system crash (missing check for negative index)
2010-12-02 14:52:07 +00:00
Campbell Barton
38eb5fe75c
bugfix [ #24913 ] Text bevel normals wrong
...
error was introduced 33269, to fix [#24834 ].
this only reverts a small part of that commit, added note not to change this.
2010-12-02 05:39:43 +00:00
Janne Karhu
7b5696c866
Fix for [ #25001 ] Enable Smoke High Resolution is greyout after baking
...
* Was a bit too eager to disable stuff
2010-12-02 04:47:40 +00:00
Campbell Barton
f305ed0c50
use fixed width fonts for image stat display.
2010-12-02 04:23:56 +00:00
Janne Karhu
1dbc93b540
Additional fix for #24958 Cloth pinning not working
...
* Don't assume that the original dm given to cloth modifier is a cddm
2010-12-02 04:06:02 +00:00