Commit Graph

47594 Commits

Author SHA1 Message Date
Campbell Barton
61a09d96b1 py api mathutils.Quaternion()
- getting axis, angle wasnt calling read callbacks so it didnt work with RNA.
- made setting axis and angle attributes possible.
2010-07-25 02:56:39 +00:00
Campbell Barton
885bbe6999 from Luca's recent commit noticed there are more typo's: lenght -> length 2010-07-25 01:45:53 +00:00
Campbell Barton
9d97123f90 Remove WM_FAST_DRAW ifdef which I added while Ton was on holiday.
Only drawing the areas which need redrawing work so no reason to revert this.
2010-07-25 01:39:47 +00:00
Tamito Kajiyama
29fac1b7da Changed the RNA subtype of the "alpha" property of a line style
from PROP_NONE to PROP_FACTOR.
2010-07-24 20:39:31 +00:00
Tamito Kajiyama
230e224204 Added file I/O for line style modifiers. 2010-07-24 20:37:54 +00:00
Peter Schlaile
6a4d370a16 Bugfix: the sequencer core rewrite missed preprocessing of images with
wrong resolution on input, which can create image distortion and crashes 
on render.

Thanks to Juan Pablo Bouza for spotting this one!
2010-07-24 19:42:29 +00:00
Luca Bonavita
0eca3db6c5 - typo: from "lenght" to "length" in rna
fixes [#22997] typo in autocomplete/python api name in bpy.context.active_object.data.draw_edge_lenght not length
  https://projects.blender.org/tracker/index.php?func=detail&aid=22997&group_id=9&atid=498
  no addons are affected by this change

- also found a typo in particles toolbar
2010-07-24 16:35:58 +00:00
Mitchell Stokes
eabbbcdff9 Fixing a crash when using either BL_ArmatureBone.parent and BL_ArmatureBone.children. 2010-07-24 09:26:05 +00:00
Peter Schlaile
1e816635b0 Bugfix: Small change to hash algorithm hinted by James Ruan on mailing list to
make hash distribution a little bit better.
2010-07-24 08:47:14 +00:00
Jason Wilkins
0246caf513 * Fix: the radius of the brush is bigger than the texture square in the UV image editor so it is always drawing a square at stronger intensity. 2010-07-24 07:18:31 +00:00
Jason Wilkins
068b0c3f6f Fix [#22965] Icons for new brushes won't get sticky
Somehow the code I submitted to fix this problem was commented out.  I think I just submitted the wrong code.
2010-07-24 05:53:30 +00:00
Campbell Barton
f24bcc689c bugfix [#22988] Duplicating Lights by Frame Causes Hangup 2010-07-24 02:51:51 +00:00
Matt Ebb
780f4c1c78 Fixed an annoying problem where sometimes tooltips would get left
hanging on screen, making you have to mouse over them to clear them.

I hope this was the only issue causing this, if anyone sees hanging tooltips 
after this commit, please report it!
2010-07-24 02:49:58 +00:00
Campbell Barton
1fdb880cf4 bugfix [#22990] Crash rendering joined curves
- dont render invalid material indicies (like mesh faces)
- clamp the material index values when joining, TODO: merge material lists properly.
2010-07-24 02:27:43 +00:00
Campbell Barton
f148aa696e bugfix [#22769] Undo Looses Active Camera
The problem was that the v3d could have a different camera to the scene even when locked.
VIEW3D_OT_viewnumpad was ignoring v3d->scenelock option and allowing an invalid state.
2010-07-24 01:32:03 +00:00
Campbell Barton
a732678217 [#22873] Snap to increment isn't working that expected when Units set to Metric or Imperial - minor
- pick the closest unit that matches the existing step size.
- set the distance subtype on some camera flags.
- commented mesh flag 'ME_ISDONE' its nolonger used.
2010-07-24 00:24:58 +00:00
Campbell Barton
bd90c33bbf bugfix [#22941] set object center/origin on a linked duplicate causes linked copied to become unselectable in viewport 2010-07-23 23:48:21 +00:00
Campbell Barton
9c3376a030 bugfix [#22716] Game engine corrupts rig ID-Properties. 2010-07-23 19:47:25 +00:00
Guillermo S. Romero
c36fcf5116 SVN maintenance. 2010-07-23 19:43:13 +00:00
Campbell Barton
7275ba728d fix for another case where object editmode data could be lost when switching scenes. 2010-07-23 18:42:15 +00:00
Campbell Barton
318c975dcb bugfix [#22954] Crash going edit mode on an object linked in another scene (Kino Bug Reporting Sprint :) 2010-07-23 18:30:14 +00:00
Peter Schlaile
d5346883dc Bugfix: [#21479] Insert Keyframe in some Sequence strip properties does
nothing

This fixes Crop and Transform the same hacky way like Color Balance.

Will do a real fix, if I find a clever way. (Those structures must 
provide a Sequence struct backpointer!!)

Cheers,
Peter
2010-07-23 17:48:16 +00:00
Brecht Van Lommel
72689deb63 Fix #21077: multiple python headers in an area header not working correct,
each needs a unique ui block name.
2010-07-23 17:26:00 +00:00
Peter Schlaile
65fcb0edcf == Sequencer ==
This patch cleans up the sequencer core by replacing the caching system
(TStripElems) with a hash based system, which is:

a) a lot faster
b) a lot more readable
c) a lot more memory conserving

The new caching system is also a good building ground for

a) sub frame precision rendering (even on scene strips)
b) multi core rendering (threaded rendering is still disabled, but can 
   be extended now to arbitrary core numbers)

I tested the code on an extensive editing session today and had no 
crashes during 4 hours of editing. So I consider it very stable.
2010-07-23 16:57:11 +00:00
Brecht Van Lommel
bf5f5bd3bd Fix #20863: when loading a file without UI, with multiple windows open,
the other windows would not preserve the screens correctly, code for
reading 2.4x files was running when it didn't need to.
2010-07-23 16:50:25 +00:00
Janne Karhu
4c4ec56f49 Fix for [#22644] hair particles bug 2, patch by Lukas Toenne 2010-07-23 16:48:45 +00:00
Brecht Van Lommel
a62e340573 Fix #21028: operator redo creates hundreds of images when texture paint is on.
Now operator redo will look for an undo push with the same name in both the
paint/sculpt and global undo stack.
2010-07-23 14:46:31 +00:00
Brecht Van Lommel
f5dd835850 Fix wrong default color for new images in some cases. 2010-07-23 14:35:23 +00:00
Brecht Van Lommel
d3c9b72ba6 Restore image auto refresh for image editor, code was not updated for 2.5 yet. 2010-07-23 14:34:43 +00:00
Brecht Van Lommel
57af5a8592 Another attempt to solve draw methods on Intel. Windows and mac now use
overlap, while unixes use overlap flip. Also implemented recent fix for
redrawing after backbuffer selection differently to avoid unneeded
redraws.
2010-07-23 13:42:58 +00:00
Brecht Van Lommel
9914aa38ed Fix #22978: wrong property min/max on icosphere subdivisions. 2010-07-23 10:42:59 +00:00
Campbell Barton
37bb55b7bc fix bad memory range of text3d charinfo being used. 2010-07-23 05:31:11 +00:00
Campbell Barton
bd30c4da8a [#22876] Add new scene, stacker ".00" bug
fix for r30441, (reverted for the beta), splitIDname wasnt returning the correct string length.
2010-07-23 04:41:27 +00:00
Campbell Barton
026ac24922 [#22488] Reloading scripts causes crash
F8 key enabled again, useful for script UI development.

- keying set freeing wasnt freeing from all scenes and the builtin list.
- PointerProperty() cant refer to a removed python srna type (fixed in rigify and netrender).
- Added a check for freeing a type used by a PointerProperty but its very slow, makes reloading take ~10sec. Only enabled this in debug mode for now.

Netrender register() function isnt re-registering the property, probably because the module is cached by python and not re-run.
2010-07-23 01:43:30 +00:00
Jason Wilkins
43d5357a2e * Fix [#22970] 2.5B 30369M crash opening 2.5A2 eye.blend 2010-07-22 23:06:09 +00:00
Joseph Eagar
37f2c8a64c committing working copy 2010-07-22 22:17:20 +00:00
Campbell Barton
5b4a3b56d2 minor warning fix
brush_alpha was being converted to an int not a float, if this is intentional it should be delared 'const int', but looks like it wasnt.
2010-07-22 22:04:07 +00:00
Jason Wilkins
3a042d2053 Fix [#22965] Icons for new brushes won't get sticky 2010-07-22 21:10:29 +00:00
Jason Wilkins
2a02632882 * removing the notifiers I added until I can discover the most lightweight way to achieve the same thing 2010-07-22 20:18:42 +00:00
Jason Wilkins
3b5b761a56 == Sculpt/Paint Fixes ==
* Fix: unify strength and size did work consistently with other paint modes
* Fix: If [ and ] keys were used to resize a brush it was not possible to increase the size of the brush if it went under 10 pixels
* Fix: Made interpretation of brush size consistent across all modes, Texture/Image paint interpreted brush size as the diameter while all the other modes interpret it as radius
* Fix: The default spacing for vertex paint brushes was 3%, should be 10%
* Fix: due to fixes to unified strength, re-enabled 'Unify Size' by default
* Fix: Unified size and strength were stored in UserPrefs, moved this to ToolSettings
* Fix: The setting of pressure sensitivity was not unified when strength or size were unified.  Now the appropriate pressure sensitivity setting is also unified across all brushes when corresponding unification option is selected
* Fix: When using [ and ] to resize the brush it didn't immediately redraw
* Fix: fkey resizing/"re-strength-ing" was not working consistently accross all paint modes due to only sculpt mode having full support for unified size and strength, now it works properly.
* Fix: other paint modes did expose the ability to have a  custom brush colors, so I added the small bit of code to allow it.  Note: I made all of the other paint mode brushes white.  Note2: Actually, probably want to make the paint modes use the selected color for painting instead of a constant brush color.
* I had removed OPTYPE_REGISTER from some Sculpt/Paint operators but in this commit I add them back.  I'm not completely sure what this option does so I don't want to disturb it for now.
2010-07-22 18:56:46 +00:00
Peter Schlaile
528cce4313 Broke cmake on Userpref patch... sorry. 2010-07-22 15:16:20 +00:00
Joilnen Leite
bc42ff687e Fixing this error:
In file included from /home/joilnen/blender/obj/linux-glibc2.9-i386/blender/makesrna/rna_userdef_gen.c:612:
./rna_userdef.c:54:35: error: MEM_CacheLimiterC-Api.h: No such file or directory
make[4]: *** [/home/joilnen/blender/obj/linux-glibc2.9-i386/blender/makesrna/rna_userdef_gen.o] Error 1
2010-07-22 15:09:41 +00:00
Peter Schlaile
b26a87fcd0 Bugfix: Mem cache limit wasn't updated, when changed in userpref. 2010-07-22 14:02:05 +00:00
Brecht Van Lommel
3d22402720 Fix #22940: material rename crash, delete selection in a text button
was not working correct.
2010-07-22 12:51:04 +00:00
Matt Ebb
da04afe78e Fix [#22946] Camera inside volume gives bad results 2010-07-22 12:30:17 +00:00
Matt Ebb
f5d7fc6da5 committed wrong version of this file 2010-07-22 12:02:39 +00:00
Matt Ebb
5d2e08cdee Fix for volume render light cache:
Now the bounding box for the light cache's voxel grid is calculated in 
global space, rather than camera space as it was previously. This fixes
flickering lighting on static volumes with camera motion, caused by
the camera space bounding box changing from frame to frame.
2010-07-22 11:54:12 +00:00
Sergey Sharybin
33cb2f93ff Fix #22661: Multires/Sculpt Segfult
- Show error message in multires modifier if there is no MDISPS layer
- Sculpt on basis mesh if there is no the same layer
2010-07-22 11:27:54 +00:00
Tom Musgrove
7c3375a6fb just a note on where to look later 2010-07-22 10:59:03 +00:00
Tom Musgrove
97f91ed3fa this fixes the bug that occurs when using pen tablet controlled pressure and the first daub is at maximum pressure - the bug is actually in brush_painter_paint(BrushPainter *painter, BrushFunc func, float *pos, double time, float pressure, void *user) according to brecht, but 'seems more complicated than expected to properly fix this' so this work around has been approved 2010-07-22 10:56:27 +00:00