Sergey Sharybin
30a2d7fe85
Fix #37153 : Bool union of 2 planes makes Blender 2.69 RC2 hang
...
Fix deadlock in Carve when rescaling to zero scale.
basically, scaling to zero scale is not what we want :)
Boolean result could still be unpredictable coz plane is
not a closed manifold.
2013-10-20 10:13:19 +00:00
Sergey Sharybin
3718c04844
Fix compositor rendering scenes multiple times in some cases
...
Issue was caused by Blender Internal changing LIB_DOIT flag
for scene when it gets updated for new frame. This leads into
conflict with flag used for tagging scenes fr render,
For now made it so nodes are being tagged instead of scene.
Only none node from those who're sharing the scene will be
tagged. And rendering scenes for node tree now checks for
node flag instead of scene's datablock one.
Ideally this tag would be replaced with scenes stored in an
array, but then it's not so clear how to check which node
to update.
2013-10-20 01:09:25 +00:00
Sergey Sharybin
4f6dd555b7
Fix for wrong implementation of mmap in lock-free allocator
...
- Freeing was not using proper block length
- Duplicating memory block was not aware of
mmaped blocks.
2013-10-20 00:12:54 +00:00
Dalai Felinto
8f22c120f5
fix [ #37145 ] "Triangulate Face" crash in specific scene
...
it was asserting if the last edge faces were already all set
2013-10-19 21:20:50 +00:00
Jeroen Bakker
0410eff306
Applied patch [ #34178 ] tile rendering for fast gaussian blur
...
Thanks to David M (erwin94)
only added some comments.
https://projects.blender.org/tracker/?func=detail&aid=34178&group_id=9&atid=127
2013-10-19 17:45:58 +00:00
Jeroen Bakker
1c675034c1
Compositor: did some inner loop optimizations of the fast gaussian blur.
...
- At Mind -
2013-10-19 16:51:35 +00:00
Bastien Montagne
4edffbf54f
More complete handling of printf formatting in msgid/msgstr checks.
...
(That commit, r60813, should never have been done to 2.69 branch, will revert it there, sorry :/ ).
2013-10-19 14:28:32 +00:00
Bastien Montagne
e783611098
Arg! Fix another bug in split normal core algorithm (some flat faces were ignored, depending on the order of evaluation)... :/
2013-10-19 13:48:51 +00:00
Bastien Montagne
e401fef6b7
Fix [ #37146 ] Dopesheet / Graph editor, select columns between markers doesn't appear to work.
...
Init min/max values were just switched...
2013-10-19 13:39:27 +00:00
Brecht Van Lommel
4ecfb215e2
Fix: ensure cycles mist pass stays in range 0..1, it could have values out of
...
this range due to sampling noise.
Side note: I looked into the mist pass because it was apparently not calculating
mist correctly on characters with transparent hair. Turns out this is just
sampling noise that goes away with more samples.
This noise is because the ray will randomly go to the next transparency layer or
get reflected, the path tracing integrator will not branch the path and only pick
one of the two directions each time.
Branched path tracing however will shade all transparent layers for each AA
sample, which means this source of noise is eliminated.
2013-10-18 23:44:25 +00:00
Sergey Sharybin
3887d33374
Remove paranoid check which was marked as unneeded for a while already
2013-10-18 23:41:11 +00:00
Sergey Sharybin
fc8b0ed5e5
Move utility functions from mball to mathutils
2013-10-18 23:38:51 +00:00
Brecht Van Lommel
451607630e
Fix #37134 : cycles viewport not displaying correct with multi GPU render
...
and graphics card that does not support CUDA OpenGL interop.
2013-10-18 20:11:07 +00:00
Sergey Sharybin
596982fe67
ID blocks can be pasted to text editor now with mouse drag and move
2013-10-18 17:35:20 +00:00
Sergey Sharybin
598239eb51
Make strict compiler flags happy
2013-10-18 15:30:38 +00:00
Brecht Van Lommel
5a355c2b01
Fix cycles hair segments not giving correct vector speed pass, the motion vector
...
export was not implemented yet for this primitive.
2013-10-18 15:03:18 +00:00
Joshua Leung
a15818f1f7
Tweak for action group -> bone select feature
...
Set newly selected bone as "active", so that the transform properties show the
correct values for the newly selected bone
2013-10-18 14:15:08 +00:00
Irie Shinsuke
38c16f9bf4
Add debug prints to the PSD loader in imbuf. The error message can be obtained from OIIO by geterror().
2013-10-18 10:43:54 +00:00
Sergey Sharybin
9afddac727
Fix for wrong active render layer after copying hr scene
...
Also fix crash for files which could have been saved with
wrong active render layer.
2013-10-18 09:45:21 +00:00
Sergey Sharybin
bae2b9dea3
Pampa Project request: FPS in sequencer editor
...
perhaps ED_scene_draw_fps is actually better to be placed
to a better place, but consider this is good for now.
2013-10-17 21:17:33 +00:00
Lukas Toenne
2871b0d7df
Fix #37110 , After deletion of large scene, file still huge.
...
Objects were not being freed when unlinked from all scenes, due to user count increments on the ParticleSystem->parent pointers. These were referencing the objects themselves, creating a user count of 1
and preventing free. Object pointers should not usually do user counting, except in some cases like scenes and groups (thanks to Brecht for clarifying this).
2013-10-17 20:18:48 +00:00
Kevin Mackay
4230b8f9c4
Patch [ #37115 ] Surface split and separate operators
...
Added surface support to recent curve split operator, completing quick hack todo
Updated nurbs separate operator to make use of new split logic, completing tools todo
Added 'Delete segment' option to surfaces and improved surface duplication, used for split/separate
2013-10-17 19:57:14 +00:00
Lukas Toenne
27a662f670
Missing ParticleSystem->parent pointer check in BKE_object_unlink.
2013-10-17 19:31:59 +00:00
Sergey Sharybin
cb9439fc2f
Fix #37048 : Default keybindings: text.find_next in Text (Global), should be in Text Generic
2013-10-17 18:49:09 +00:00
Sergey Sharybin
a709cb2d55
Fix #37123 : UV editor view does not update when using large faces
...
Update tagging was happening only after full triangle was handled.
Now made it so images are updating once in 0.5sec, progress bar
will still update only after the whole triangle is done.
2013-10-17 18:29:01 +00:00
Brecht Van Lommel
2e8ab664d5
Fix cycles mesh synchronization being too slow with vector blur and duplis.
2013-10-17 16:05:57 +00:00
Brecht Van Lommel
56373ea271
Fix crash in scenes without camera markers, after recent fix for #37097 ,
...
first_camera variable was used uninitialized.
2013-10-17 15:51:12 +00:00
Sergey Sharybin
a0da34871a
Fix for GCC bing stupid and not casting float*[3] to const float*[3] without a wanring :S
2013-10-17 14:44:23 +00:00
Joshua Leung
1263a0891c
Project Pampa Request: Selecting groups in animation editors selects
...
corresponding bones
2013-10-17 14:19:03 +00:00
Sergey Sharybin
eb1b4c3b55
Fix #37097 : Setting scene frame does not update active camera
...
The issue was caused by uncertainty of current camera when
there're no markers to the left of current frame.
Now in this case camera from the top-left marker will be used.
2013-10-17 14:10:03 +00:00
Brecht Van Lommel
abee8a8717
Fix #37109 : missing cycles texture display in edit mode.
...
My previous fix for uninitialized texture coordinates was not working well,
and in fact there was a bigger issue with GLSL drawing and missing attributes
with immediate draw mode. Now it will explicitly pass zero rather than having
it use whatever value was set last.
2013-10-17 14:04:10 +00:00
Sergey Sharybin
31b38a6736
Fix #37122 : Text Editor: New Open-Shortcut different from Text > Open Text Block
...
Seems no user counter tricks are needed from r23598.
Also, r33453 is obviously wrong, because new ID's user counter is 1,
and could not exceed this value.
2013-10-17 12:53:37 +00:00
Sergey Sharybin
47f365419f
Fix #37117 : MCE prefetching fails with non-ascii characters in path
2013-10-17 12:28:32 +00:00
Sergey Sharybin
c4e7a22958
Fix #37091 : Reset to default of Sky Texture's Dot freezes it at 0,0,0
2013-10-17 10:50:54 +00:00
Sergey Sharybin
023b25b57e
Fix #37106 : Hair Length vanishes when Advanced is enabled
...
Seems to be just a missing case from r34687.
Could not see a reason why hair length is to be hidden in
advanced settings mode.
2013-10-17 10:42:47 +00:00
Campbell Barton
6d5024828b
add local _PyLong_AsInt() needed for python older then 3.3.2
2013-10-17 09:58:36 +00:00
Sergey Sharybin
992902cee0
Fix #37118 : MCEr: Prefetch frames doesn't respect input color space
2013-10-17 09:44:08 +00:00
Sergey Sharybin
71dae0cf40
Fix #37119 : MCE: Prefetching doesn't fetch last frame of an image-sequence.
...
Silly mistake in final condition. Now it works fine.
Would be nice to have this for the final release, simple oneliner.
2013-10-17 09:19:03 +00:00
Bastien Montagne
6e9c3a9abf
i18n utils: check not only that the number of printf markers are the same in msgid and msgstr, but also that they are of the same type and order. Sorry, should have done that from the beginning... :/
...
This should prevent any bug like [#37095 ] Timeline crash when chose any keying set then press keyframe-insert, to appear again.
2013-10-17 06:52:26 +00:00
Irie Shinsuke
bf462838b3
Fix build failure with VS2012 + SCons, caused by redefinition of the bool type.
2013-10-17 06:40:35 +00:00
Campbell Barton
d3a89fc9b7
add typechecks when assigning id-property arrays from python (overflows and errors weren't detected)
...
reduce/simplify exceptions more.
2013-10-17 03:18:21 +00:00
Campbell Barton
a619de52cf
simplify & improve error handling for id-property python-api.
2013-10-17 02:57:59 +00:00
Campbell Barton
f5660a05b1
fix [ #37105 ] Long int IDproperties produces errors at weird spots.
2013-10-17 02:36:33 +00:00
Campbell Barton
69d66f98a8
patch [ #37114 ] copypaste for NORMAL buttons (BUT_NORMAL)
...
from Philipp Oeser (lichtwerk)
2013-10-16 23:42:44 +00:00
Campbell Barton
234626f9e1
correct BM_edge_face_pair() being called inside BLI_assert() - this needed to run every time.
...
also other minor changes.
2013-10-16 22:07:16 +00:00
Dalai Felinto
bd2d7bedbd
Triangulate modifier - beauty option is back
...
Patch reviewed and with collaborations from Campbell Barton
2013-10-16 17:58:00 +00:00
Mitchell Stokes
1ce5978805
BGE: Fix to allow render options such display framerate and profile to work
...
when launching the Blenderplayer from Blender.
This bug was reported and fixed by SolarLune.
2013-10-16 17:54:12 +00:00
Sergey Sharybin
af6636bbed
Project Pampa request: copy-paste for curve mapping widgets
...
Use C-c for copy, C-v for paste over the widget.
2013-10-16 17:48:33 +00:00
Lukas Toenne
78efff5f42
Fix #37084 , Backdrop not invalidating inside node groups.
...
Extended the is_active_group flag such that both the current edittree as well as the base node tree in Scene do a viewer node update.
2013-10-16 07:55:52 +00:00
Campbell Barton
089d0ad8f9
add IDP_FreeFromGroup(), replaces IDP_RemFromGroup(), IDP_FreeProperty(), MEM_freeN().
2013-10-16 05:29:28 +00:00