Commit Graph

30120 Commits

Author SHA1 Message Date
Campbell Barton
fedc811014 minor updates to the cmake checker 2011-06-13 03:09:14 +00:00
Daniel Genrich
ef1824cdcb Elbeem / Fluidsim:
a) Also fixed an "upcomming" bug in regard of gravx,y,z now converted into an array.
b) Little typo fix
2011-06-13 00:02:23 +00:00
Daniel Genrich
5745f99dee Elbeem / Fluidsim update:
a) Enable the possibility to remove the "air bubble" around submerged collision object. This feature is enabled as standard for new files. The code was found in elbeem by nudelZ, coded and provided by Nils Thürey (thanks!)
b) Old baked files gets deleted if a new bake gets started (were overwritten before and resulted in weird old bake + new bake mixture) (idea by nudelZ)
2011-06-12 23:51:30 +00:00
Thomas Dinges
f96769ef0a Fix/Workaround for [#27643] drawing glitch:
* Removed the Icon of the menu, when an icon is used, it draws a triangle icon, assuming it is a sub menu.
2011-06-12 20:27:28 +00:00
Ton Roosendaal
f6de4fecfa Bugfix #27519
Full Sample AA (FSA) was failing in cases. Bug report was an empty
scene (with compo nodes) linking in another .blend scene (with render).

That case gave warning "FSA not supported with rendering". That now is
allowed.

Then I noticed FSA was giving corrupt sample buffers or crashes in cases, 
especially on first buffer, this appeared to be a missing compo tag on 
first sample buffer.

Lastly, to make FSA render a tiny bit less frustrating: added render window
statistic to show which of the FSA steps is being done.
2011-06-12 13:35:17 +00:00
Janne Karhu
e8a1d03570 Quick Explode operator:
* Sets up a particle system and an explode modifier.
* In "blend" mode requires two selected objects and creates "crossed keyed" particle systems between the objects for a simple blend effect where the first object explodes and then recombines as the second object.
* Also renamed the other quick effect operators as "Quick ..." to bring some consistency to the operators (also nice that now you can just write "quick" to the operator search and get all these operators).
2011-06-12 11:14:28 +00:00
Janne Karhu
09492d9072 Bug fix: keyed physics didn't work properly if the first key wasn't the keyed particle system itself
* Also some nicer rotation handling for the explode modifier
2011-06-12 11:09:39 +00:00
Thomas Dinges
982eb9942c 2.5 Image Buttons:
* Code cleanup, removed some unnecessary code.
2011-06-12 11:03:21 +00:00
Thomas Dinges
1d40ca4860 2.5 Image Buttons:
* Fixed an alignment issue, left column had unnecessary row declaration.
2011-06-12 10:24:47 +00:00
Dalai Felinto
6c15d28db2 Logic: clear "Script" when setting Script Controller mode to "Module"
The text datablock was linked to the controller. So even if the script was set to 'module' and saved, once linked/appended the object the script would come together.
If someone wants to implement this "clear" only once the file is saved, please go ahead. But I believe it's ok to  loose the script if you change it for module (and with the new datablock lookup it's straightforward/quick to reassign a textblock)

-- bug not reported anywhere, from my own list
2011-06-12 08:34:53 +00:00
Campbell Barton
9095612b85 remove some warning for unused struct members 2011-06-11 17:05:20 +00:00
Campbell Barton
90d8fcb522 improved autocompleation when there is a common prefix 2011-06-11 17:03:26 +00:00
Campbell Barton
3d7dc49e3e warning fix for gcc 2011-06-11 15:37:16 +00:00
Lukas Toenne
fbd5b4eb53 Fix for edge mesh BVH: The edge distance callback for leaf nodes was calculating actual sqrt'ed distance, while needing squared distance to be compatible with bounding box checks. This also solves previous concerns about performance when using sqrt in the comparison callback. 2011-06-11 14:08:46 +00:00
Ton Roosendaal
e0dee9b41d Bugfix #27105
Node editor: collapsed node didn't allow to size it using the
right hand side grab thingemabobs.
2011-06-11 13:12:57 +00:00
Ton Roosendaal
3361ae0271 Bugfix #27138
Theme color fix for button type "Value slider".
On text editing mode, the selected part of the text was invisible.
2011-06-11 12:10:01 +00:00
Campbell Barton
81946b9138 fix for recent commit, this stops makesdna from working right:
/* ... // ...  */
2011-06-11 10:09:56 +00:00
Campbell Barton
a3101de7be remove backbuf from internal struct's (unused in 2.5x) 2011-06-11 08:55:29 +00:00
Campbell Barton
c2e1f3a1e2 fix for using system includes, the include macro wasn't un-setting the previous include list so system includes could be mixed up with non system includes.
Also workaround for CMake 2.8.4 & GNU-Make which doesn't set CMAKE_INCLUDE_SYSTEM_FLAG_C
2011-06-11 06:00:28 +00:00
Thomas Dinges
6fb82a85c9 * Code cleanup 2011-06-10 21:06:59 +00:00
Jason Wilkins
a4aa7abd65 suspiciously consistent typo 2011-06-10 20:59:48 +00:00
Thomas Dinges
6c343e7b61 2.5 Modifier UI Script:
* Tiny improvement, no need to have split declaration outside of if branch.
2011-06-10 20:41:22 +00:00
Campbell Barton
ce3f040e14 fix [#27627] Strange behavior with solid open gl lights
disable turning off all lights in the user preferences.
2011-06-10 16:59:15 +00:00
Ton Roosendaal
753623d1d7 Bugfix #27136
Ending localview - which is similar to layer change - should send
update similar to change layers too. Needed for example when loading
a file saved in local view or when changing time in localview.
2011-06-10 14:03:51 +00:00
Campbell Barton
eeba877926 fix [#27607] Scene's render.filepath gets cropped to 159 characters
use 240 char limit, remove backbuffer path which wasn't used.
2011-06-10 10:13:50 +00:00
Campbell Barton
9cf0bbb95c added a check to console auto-compleation for pythons struct_seq type, so bpy.app and sys.float_info autocompleate their attributes rather then bring treated as a typle. 2011-06-10 09:44:27 +00:00
Campbell Barton
1f56eee953 fix [#27495] Incorrect result of image name autocompletion 2011-06-10 07:22:35 +00:00
Campbell Barton
c8a654c41c add includes for windows. 2011-06-09 18:28:58 +00:00
Campbell Barton
13465fd817 update for tests, error out when duplicate modules are found, all ctest tests pass again. 2011-06-09 16:20:00 +00:00
Ton Roosendaal
10082b7986 Bugfix #27081
Displacement mapping didn't do linear interpolation between pixels,
causing render artefacts. Now it uses for image render without AA
a default interploation filter of 1 pixel size.

Fix provided by Miika Hamalainen. Thanks!
2011-06-09 16:12:10 +00:00
Lukas Toenne
55c488abf0 Fix for GLSL material node inside groups. These were using the GPULink point from the input stack argument, but this only exists for directly linked nodes. If a node is linked directly to a group socket, which is not linked externally, the stack argument is actually the external group input. 2011-06-09 16:05:34 +00:00
Ton Roosendaal
3a51735fbe Bugfix #27078
Added notifier to make material preview update when selecting a face
in editmode with a different material than displayed.
2011-06-09 15:54:44 +00:00
Ton Roosendaal
cede08e1e2 Bugfix #26886
Operator redo: F6 menu didn't work for macros yet (like Duplicate-grab).
2011-06-09 15:26:05 +00:00
Campbell Barton
15d0d3f41e replace log() calls with constants 2011-06-09 14:27:51 +00:00
Campbell Barton
d4ae38cc6c fix for own mistake & fix some comments. 2011-06-09 13:46:34 +00:00
Campbell Barton
21f5a87999 fix for memory leak re-binding meshes. 2011-06-09 11:19:34 +00:00
Matt Ebb
75dcc2a7dd Fix [#27378] ASC-CDL Color Balance Node does not allow for full range of values
Report title is incorrect, it does allow for the full range, but actually allows too much, so clamping slope and power min at 0.
2011-06-09 11:09:46 +00:00
Campbell Barton
09e96f6b56 RNA properties - expose values as radians rather then degrees
- sequencer wipe angle
- mesh autosmooth
- bevel modifier angle
- edge split angle
2011-06-09 08:58:27 +00:00
Campbell Barton
152b06dc82 use a better method for finding the precision to use for float buttons, about 4x faster to calculate and will show for eg, 0.0108 rather than 0.01, but 0.0100001 still displays as 0.01. 2011-06-09 07:40:30 +00:00
Campbell Barton
252f7c9af8 fix [#27616] Appending an object from a file brings all existing group links to scene
When appending from a blend file which had an object already linked, _but_ was not in any scenes.
- the linked object would be instanced.
2011-06-09 04:28:53 +00:00
Campbell Barton
912db4cdb5 [#27615] Box select of mesh object disabled or translated due to curve object
ED_view3d_init_mats_rv3d was calling glMultMatrixf() which was mostly harmless but could also lead to confusing bugs (2 reported previously).
Looked into this and every call to ED_view3d_init_mats_rv3d except for object drawing, doesn't need this so made a second version of ED_view3d_init_mats_rv3d - ED_view3d_init_mats_rv3d_gl which does the matrix multiplication, remove confusing checks in selection code.
2011-06-09 03:56:32 +00:00
Campbell Barton
e7e1bc4ca1 add foreachIDLink function for cloth, remove cloth specific newlibadr calls in readfile. 2011-06-09 02:47:22 +00:00
Ton Roosendaal
43ec34f054 Bugfix #27601
Revision for previous fix; fast gaussian now survives on images
with a dimension smaller than 3 pixels!

Thanks Bastien Montagne for patch.
2011-06-08 16:08:57 +00:00
Campbell Barton
65ec26ab83 fix for own error r35918, generalizing looping over modifier ID links
broke loading smoke group references because they already had calls to
newlibadr_us() elsewhere, removing those assignments fixes loading.
2011-06-08 16:00:52 +00:00
Ton Roosendaal
17becc751d Bugfix #27601
Scaling in compostior down to 1 pixel size crashed gaussian blur.
2011-06-08 15:17:38 +00:00
Nathan Letwory
05b54bec3b Apply [#27477] COLLADA export support for textures mapped to COLSPEC
Patch provided by Pelle Johnsen
2011-06-08 13:00:25 +00:00
Nathan Letwory
899f2776db Shuffle some build code around to ensure debug builds on Windows actually run too.
* creator/SConscript is now empty, code is moved to an emitter function in Blender.py
* make sure COLLADA debug libs are used when BF_DEBUG=True
2011-06-08 11:53:07 +00:00
Joshua Leung
cec102e781 Bugfix [#27586] P for setting playback range is clamped to > 0
Thanks for the patch Bastien Montagne. Was just legacy code from 2.4x
2011-06-08 10:57:24 +00:00
Dalai Felinto
40c171a69f fix of fix :| [real fix for #36787 -- it was wrongly fixed on #36964]
I guess I tested the fix outside the camera view (which always worked). duhhh
Working now.
2011-06-08 09:01:41 +00:00
Campbell Barton
9dd066eb65 cmake: remove python include in the wm module, set opengl as a system include. 2011-06-08 05:39:58 +00:00