8 years agofix for decimator editing the data it loops over in an unsupported way.
Campbell Barton [Mon, 28 Oct 2013 01:58:05 +0000 (01:58 +0000)]
fix for decimator editing the data it loops over in an unsupported way.

8 years agocmake: bsp needs moto
Sergej Reich [Sun, 27 Oct 2013 13:58:13 +0000 (13:58 +0000)]
cmake: bsp needs moto

8 years agoExpose MVertSkin customdata layer in Python. This allows scripts to change parameters...
Andrew Hale [Sun, 27 Oct 2013 12:16:45 +0000 (12:16 +0000)]
Expose MVertSkin customdata layer in Python. This allows scripts to change parameters which are used by the skin modifier (such as radius)

8 years agorename BM_vert_at_index -> BM_vert_at_index_find (since this searches the mempool).
Campbell Barton [Sun, 27 Oct 2013 10:01:35 +0000 (10:01 +0000)]
rename BM_vert_at_index -> BM_vert_at_index_find (since this searches the mempool).
needed for other changes - coming.

8 years agoUpdate OpenEXR to 2.0.1, this seems to fix some issues.
Bastien Montagne [Sun, 27 Oct 2013 08:19:08 +0000 (08:19 +0000)]
Update OpenEXR to 2.0.1, this seems to fix some issues.

I *really* have to go back over all our patches in this script and try to port them back in respective projects!

8 years agoBorder select for sculpting, using B shortcut, warmup for more advanced
Antony Riakiotakis [Sun, 27 Oct 2013 03:31:19 +0000 (03:31 +0000)]
Border select for sculpting, using B shortcut, warmup for more advanced
masking, like lasso selection.

8 years agofix [#37195] particles crash with viewport render
Campbell Barton [Sat, 26 Oct 2013 22:38:12 +0000 (22:38 +0000)]
fix [#37195] particles crash with viewport render

8 years agoWeighted tracks
Sergey Sharybin [Sat, 26 Oct 2013 13:22:38 +0000 (13:22 +0000)]
Weighted tracks

Added a weight slider to track which defines
how much particular track affects in a final
reconstruction. This weight is for sure

Currently it affects on BA step only which in
most cases will work just fine.

The usecase of this slider is to have it set
to 1.0 most of the time where the track is
good, but blend it's weight down to 0 when
tracker looses the track. This will prevent
camera from jump.

Tutorial is to be done by Sebastian.

8 years agoremove null checks for macro definitions, if these fail then something is broken...
Campbell Barton [Sat, 26 Oct 2013 08:01:33 +0000 (08:01 +0000)]
remove null checks for macro definitions, if these fail then something is broken elsewhere, better not fail silently.

8 years agofix for metaball editmode duplicate with PET
Campbell Barton [Sat, 26 Oct 2013 06:48:56 +0000 (06:48 +0000)]
fix for metaball editmode duplicate with PET

8 years agofix for BM_faces_join_pair() making the assumption that only the 2 faces use an edge...
Campbell Barton [Sat, 26 Oct 2013 05:05:37 +0000 (05:05 +0000)]
fix for BM_faces_join_pair() making the assumption that only the 2 faces use an edge, face winding could be flipped incorrectly.

also remove search for shared edges - all callers pass the edge in.

8 years agorename give_cursor to ED_view3d_cursor3d_get
Campbell Barton [Sat, 26 Oct 2013 04:07:18 +0000 (04:07 +0000)]
rename give_cursor to ED_view3d_cursor3d_get

8 years agocode cleanup: merge doxygen comments into C source.
Campbell Barton [Sat, 26 Oct 2013 03:56:32 +0000 (03:56 +0000)]
code cleanup: merge doxygen comments into C source.

8 years agofix for outline width theme option being ignored for non mesh object types.
Campbell Barton [Sat, 26 Oct 2013 02:14:07 +0000 (02:14 +0000)]
fix for outline width theme option being ignored for non mesh object types.

8 years agospelling: use American spelling for canceled
Campbell Barton [Sat, 26 Oct 2013 01:06:19 +0000 (01:06 +0000)]
spelling: use American spelling for canceled

8 years agoremove unused var
Campbell Barton [Sat, 26 Oct 2013 01:03:16 +0000 (01:03 +0000)]
remove unused var

8 years agofix for UI glitch with HSVCUBE color picker, color was noticeably not very smooth...
Campbell Barton [Fri, 25 Oct 2013 23:50:55 +0000 (23:50 +0000)]
fix for UI glitch with HSVCUBE color picker, color was noticeably not very smooth or aligned.
- HSV values need to be shifted.
- drawing the quads wasnt aligned well to colors.

8 years agoholding ctrl now snaps the hue for color wheel and hsvcube.
Campbell Barton [Fri, 25 Oct 2013 23:05:34 +0000 (23:05 +0000)]
holding ctrl now snaps the hue for color wheel and hsvcube.
this makes it easy to set primary colors without using RGB sliders.

8 years agocorrect typo
Campbell Barton [Fri, 25 Oct 2013 22:12:05 +0000 (22:12 +0000)]
correct typo

8 years agocode cleanup: use bool for shift arg, order args more consistently between functions.
Campbell Barton [Fri, 25 Oct 2013 22:09:31 +0000 (22:09 +0000)]
code cleanup: use bool for shift arg, order args more consistently between functions.

8 years agoUpdating tooltip for Fill Holes "Sides" option.
Jonathan Williamson [Fri, 25 Oct 2013 14:12:22 +0000 (14:12 +0000)]
Updating tooltip for Fill Holes "Sides" option.

This makes the tooltip much more descriptive to tell the user what the setting does. Suggestion by Thomas Beck and bcon13.

8 years agorigidbody: Add "Apply Transformation" button
Sergej Reich [Fri, 25 Oct 2013 11:54:10 +0000 (11:54 +0000)]
rigidbody: Add "Apply Transformation" button

This is just the "Apply Visual Transform" operator.
It's very usefull for rigid body simulations but hard to find and users
usually don't know about it/don't know it's usefull to apply rigid body
It seems bit out of place (especially the tooltip) so we might need to
do a bit more here.

8 years agoRemove duplicate cmake enries in game engine and compositor
Sergej Reich [Fri, 25 Oct 2013 11:00:16 +0000 (11:00 +0000)]
Remove duplicate cmake enries in game engine and compositor

8 years agoreplace snap values with enum and bool depending on use (it wasn't clear which was...
Campbell Barton [Fri, 25 Oct 2013 07:47:08 +0000 (07:47 +0000)]
replace snap values with enum and bool depending on use (it wasn't clear which was used when both were int's).

Ctrl+Shift now snaps normal button to 15deg increments.

8 years agopatch [#37197] angle snapping for NORMAL button
Campbell Barton [Fri, 25 Oct 2013 06:59:57 +0000 (06:59 +0000)]
patch [#37197] angle snapping for NORMAL button
from Philipp Oeser (lichtwerk) with minor edits.

8 years agocode cleanup and add mball select similar into the menu
Campbell Barton [Fri, 25 Oct 2013 06:22:15 +0000 (06:22 +0000)]
code cleanup and add mball select similar into the menu

8 years agoadd check for cmake that source files are not included multiple times
Campbell Barton [Fri, 25 Oct 2013 06:21:38 +0000 (06:21 +0000)]
add check for cmake that source files are not included multiple times

8 years agopatch [#37188] Remove filename entry specified twice
Campbell Barton [Fri, 25 Oct 2013 05:21:17 +0000 (05:21 +0000)]
patch [#37188] Remove filename entry specified twice
from Lawrence D'Oliveiro (ldo)

8 years agopatch [#30689] select similar for metaballs
Campbell Barton [Fri, 25 Oct 2013 05:17:55 +0000 (05:17 +0000)]
patch [#30689] select similar for metaballs
from Cyrille Ruggero (kalado) with some edits.

8 years agoFix building with scons
Sergej Reich [Fri, 25 Oct 2013 03:56:17 +0000 (03:56 +0000)]
Fix building with scons

Can't actually test here so hope this is enough.

8 years agorigidbody: Use bullet's own fixed constraint
Sergej Reich [Fri, 25 Oct 2013 03:45:00 +0000 (03:45 +0000)]
rigidbody: Use bullet's own fixed constraint

Should be no functional changes.

8 years agobullet: Update to version 2.82 (bullet revision 2705)
Sergej Reich [Fri, 25 Oct 2013 03:43:20 +0000 (03:43 +0000)]
bullet: Update to version 2.82 (bullet revision 2705)

Remove patch that has been applied upstream.

Fixes several bugs.

8 years agodrawobject: Fix sphere bounds drawing
Sergej Reich [Fri, 25 Oct 2013 02:20:23 +0000 (02:20 +0000)]
drawobject: Fix sphere bounds drawing

Would draw ellipsoid instead, which is not so useful and wrong when
used for rigid body collision shape visualization.

svn merge -r59887:59888 ^/branches/soc-2013-rigid_body_sim

8 years agomake the message for addons failing to parse a little more descriptive (suggested...
Campbell Barton [Thu, 24 Oct 2013 20:17:30 +0000 (20:17 +0000)]
make the message for addons failing to parse a little more descriptive (suggested in report [#37196]).

8 years agoOSX/CMake: fix ftemplate condition
Jens Verwiebe [Thu, 24 Oct 2013 18:46:00 +0000 (18:46 +0000)]
OSX/CMake: fix ftemplate condition

8 years agoFix for occasional crashes due to numerical instability in Freestyle Perlin noise...
Tamito Kajiyama [Thu, 24 Oct 2013 11:41:39 +0000 (11:41 +0000)]
Fix for occasional crashes due to numerical instability in Freestyle Perlin noise modifiers with a large 'octaves' value.
Problem report by Light BWK through personal communications, thanks a lot!

8 years agoFix #37175, Viewer node issue for newly toggled render passes.
Lukas Toenne [Wed, 23 Oct 2013 11:58:00 +0000 (11:58 +0000)]
Fix #37175, Viewer node issue for newly toggled render passes.
The RenderLayers node would use the "combined" image result for all passes which don't have a valid render result yet. This causes problems when the buffer element size is not actually 4 floats (RGBA) as
with the 3 float normal passes. Also the result is rather meaningless then, so just keep the image buffer at NULL for unavailable passes, which will return plain (0,0,0) color.

8 years agoFix for OSL bug reported on IRC by Pablo Vasquez: Clamp option of the math node in...
Lukas Toenne [Wed, 23 Oct 2013 11:30:18 +0000 (11:30 +0000)]
Fix for OSL bug reported on IRC by Pablo Vasquez: Clamp option of the math node in OSL produces bad results. Really stupid bug, OSL math node was assigning the clamped 1st input value instead of the
clamped result of the actual operation.

8 years agofix for negated normal being used when using individual centers & normal orientation...
Campbell Barton [Wed, 23 Oct 2013 10:35:49 +0000 (10:35 +0000)]
fix for negated normal being used when using individual centers & normal orientation in vertex select mode.

8 years agocode cleanup: minor transform refactor
Campbell Barton [Wed, 23 Oct 2013 06:48:36 +0000 (06:48 +0000)]
code cleanup: minor transform refactor
redraw flag were mixing up types - int/char/bool, add enum type to use instead.

8 years agofix [#37179] All transformation normals drawn when proportional edit, individual...
Campbell Barton [Wed, 23 Oct 2013 05:33:42 +0000 (05:33 +0000)]
fix [#37179] All transformation normals drawn when proportional edit, individual origins and normal transform orientation are set
thanks to psy-fi for the initial patch.

8 years agorefactor transform.c - minor changes
Campbell Barton [Wed, 23 Oct 2013 03:57:42 +0000 (03:57 +0000)]
refactor transform.c - minor changes
- use TREDRAW_HARD define
- use apply prefix for transform callbacks.
- make callbacks static.

8 years agostyle cleanup
Campbell Barton [Wed, 23 Oct 2013 02:52:27 +0000 (02:52 +0000)]
style cleanup

8 years agoFix part 1 of #37177 spikes in sculpting.
Antony Riakiotakis [Tue, 22 Oct 2013 23:32:41 +0000 (23:32 +0000)]
Fix part 1 of #37177 spikes in sculpting.

Was a typo from refactor to calculate sculpt plane from forward facing
vertices only. The branch of the code that did the calculation would end
up with a nice division by a wrong number.

8 years agoMaking real need to remove proxies
Sergey Sharybin [Tue, 22 Oct 2013 15:19:37 +0000 (15:19 +0000)]
Making real need to remove proxies

Otherwise some invalid pointers will be left
which could be harmless if real object stays
local, but crashes when linking them to
another files.

Was discovered here in the studio during
Project Pampa, and the steps to reproduce are:

- Create lib.blend, put armature and cube to it.
  Create a group with them.
- Create scene.blend and link group from lib.blend.
- Make a proxy from armature.
- Make group real.
- Add real objects to a group.
- Create comp.blend and link group from scene.blend.
  This step will creah.

8 years agoBugfix: Renaming bones now renames the corresponding F-Curves in actions used by
Joshua Leung [Tue, 22 Oct 2013 11:36:48 +0000 (11:36 +0000)]
Bugfix: Renaming bones now renames the corresponding F-Curves in actions used by
Action Constraints

8 years agoCtrl+Alt+SelectMouse now does "Select all keyframes in same channel" in
Joshua Leung [Tue, 22 Oct 2013 11:12:37 +0000 (11:12 +0000)]
Ctrl+Alt+SelectMouse now does "Select all keyframes in same channel" in
DopeSheet too

Previously, it only worked in the Graph Editor, though I thought I had
implemented it here too.

8 years agoAdding comments to clarify each set of modifier mappings for animation editors
Joshua Leung [Tue, 22 Oct 2013 09:59:54 +0000 (09:59 +0000)]
Adding comments to clarify each set of modifier mappings for animation editors
selection ops

8 years agoMinor UI messages fixes.
Bastien Montagne [Tue, 22 Oct 2013 08:21:00 +0000 (08:21 +0000)]
Minor UI messages fixes.

8 years agoDopeSheet Group Select => Bone Select Tweak: Don't change selection status of
Joshua Leung [Tue, 22 Oct 2013 06:24:47 +0000 (06:24 +0000)]
DopeSheet Group Select => Bone Select Tweak: Don't change selection status of
bones if "Only Selected" dopesheet filter is enabled.

When this was enabled, it would be too easy to accidentally change the selected
bones, causing the keyframes you were just editing to disappear

8 years agoadd copy_v4_fl4, replace QUATSET macro.
Campbell Barton [Tue, 22 Oct 2013 03:31:21 +0000 (03:31 +0000)]
add copy_v4_fl4, replace QUATSET macro.

8 years agostyle cleanup
Campbell Barton [Tue, 22 Oct 2013 03:03:56 +0000 (03:03 +0000)]
style cleanup

8 years agominor changes to templates\13
Campbell Barton [Tue, 22 Oct 2013 00:25:15 +0000 (00:25 +0000)]
minor changes to templates\13

8 years agofix for invalid RNA created for the 3D viewport header (made ID reporting show incorr...
Campbell Barton [Mon, 21 Oct 2013 23:46:45 +0000 (23:46 +0000)]
fix for invalid RNA created for the 3D viewport header (made ID reporting show incorrectly).

8 years agostyle cleanup
Campbell Barton [Mon, 21 Oct 2013 23:35:08 +0000 (23:35 +0000)]
style cleanup

8 years agoFix #37169 brush UI not getting updated. A notifier was missing for
Antony Riakiotakis [Mon, 21 Oct 2013 18:08:20 +0000 (18:08 +0000)]
Fix #37169 brush UI not getting updated. A notifier was missing for
all unified paint settings properties, made sure to notify that
active brush has changed.

8 years agoPartial fix for [#37159] Particle Emitter set to not render still appears in 3D view...
Bastien Montagne [Mon, 21 Oct 2013 15:44:09 +0000 (15:44 +0000)]
Partial fix for [#37159] Particle Emitter set to not render still appears in 3D view, when display set to rendered only. Emitter also appears in all GL Renders and some F12 renders.

Fixed OpenGL part: in draw_object, when object has some particle systems and none of them render the emitter, and display option is set to show only rendered objects, skip this object.

Note: Cycles matter I did not investigate, looks like a render-engine issue.

8 years agoJump to Next/Previous Marker operators in the timeline menu, shortcuts are
Brecht Van Lommel [Mon, 21 Oct 2013 15:00:22 +0000 (15:00 +0000)]
Jump to Next/Previous Marker operators in the timeline menu, shortcuts are
ctrl + shift + left/right arrow key.

Patch #37142 by Henrik Aarnio, thanks!

8 years agoFollowup to r60857: code was assuming markers were sorted, which is not guaranted...
Bastien Montagne [Mon, 21 Oct 2013 14:40:14 +0000 (14:40 +0000)]
Followup to r60857: code was assuming markers were sorted, which is not guaranted. Also heavily simplified it (previous code was supposed to have optimizations, but ended just looping twice over the markers' list...).

Many thanks to Brecht and Sergey for noting the quirk and reviews! :)

8 years agoFix [#37160] Rotate edge direction changed between 2.64 and 2.65 (low priority)
Bastien Montagne [Mon, 21 Oct 2013 11:13:39 +0000 (11:13 +0000)]
Fix [#37160] Rotate edge direction changed between 2.64 and 2.65 (low priority)

Easy to fix, but do not really understand *why* this is needed...

8 years agoProject Pampa request: show curves for node grupps
Sergey Sharybin [Sun, 20 Oct 2013 17:53:29 +0000 (17:53 +0000)]
Project Pampa request: show curves for node grupps

It was not implemented in anim filter yet.

it's strictly speaking not so much clear how
"selected only" mode is expected to work when
having multiple node trees editing at the same
time. For now all the animation data from
selected group will be displayed.

8 years agoSplash screen update for final 2.69 release (remove release candidate text).
Brecht Van Lommel [Sun, 20 Oct 2013 14:42:26 +0000 (14:42 +0000)]
Splash screen update for final 2.69 release (remove release candidate text).

8 years agoCode cleanup: de-duplicate implementation of get_texture_value
Sergey Sharybin [Sun, 20 Oct 2013 13:01:07 +0000 (13:01 +0000)]
Code cleanup: de-duplicate implementation of get_texture_value

Expect to be no functional changes :)

8 years agoCode cleanup: added generic function copt_m3_m3d
Sergey Sharybin [Sun, 20 Oct 2013 12:08:51 +0000 (12:08 +0000)]
Code cleanup: added generic function copt_m3_m3d

8 years agoFix #37153: Bool union of 2 planes makes Blender 2.69 RC2 hang
Sergey Sharybin [Sun, 20 Oct 2013 10:13:19 +0000 (10:13 +0000)]
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.

8 years agoFix compositor rendering scenes multiple times in some cases
Sergey Sharybin [Sun, 20 Oct 2013 01:09:25 +0000 (01:09 +0000)]
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.

8 years agoFix for wrong implementation of mmap in lock-free allocator
Sergey Sharybin [Sun, 20 Oct 2013 00:12:54 +0000 (00:12 +0000)]
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.

8 years agofix [#37145] "Triangulate Face" crash in specific scene
Dalai Felinto [Sat, 19 Oct 2013 21:20:50 +0000 (21:20 +0000)]
fix [#37145] "Triangulate Face" crash in specific scene
it was asserting if the last edge faces were already all set

8 years agoApplied patch [#34178] tile rendering for fast gaussian blur
Jeroen Bakker [Sat, 19 Oct 2013 17:45:58 +0000 (17:45 +0000)]
Applied patch [#34178] tile rendering for fast gaussian blur

Thanks to David M (erwin94)
only added some comments.

8 years agoCompositor: did some inner loop optimizations of the fast gaussian blur.
Jeroen Bakker [Sat, 19 Oct 2013 16:51:35 +0000 (16:51 +0000)]
Compositor: did some inner loop optimizations of the fast gaussian blur.

 - At Mind -

8 years agoMore complete handling of printf formatting in msgid/msgstr checks.
Bastien Montagne [Sat, 19 Oct 2013 14:28:32 +0000 (14:28 +0000)]
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 :/ ).

8 years agoArg! Fix another bug in split normal core algorithm (some flat faces were ignored...
Bastien Montagne [Sat, 19 Oct 2013 13:48:51 +0000 (13:48 +0000)]
Arg! Fix another bug in split normal core algorithm (some flat faces were ignored, depending on the order of evaluation)... :/

8 years agoFix [#37146] Dopesheet / Graph editor, select columns between markers doesn't appear...
Bastien Montagne [Sat, 19 Oct 2013 13:39:27 +0000 (13:39 +0000)]
Fix [#37146] Dopesheet / Graph editor, select columns between markers doesn't appear to work.

Init min/max values were just switched...

8 years agoFix: ensure cycles mist pass stays in range 0..1, it could have values out of
Brecht Van Lommel [Fri, 18 Oct 2013 23:44:25 +0000 (23:44 +0000)]
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.

8 years agoRemove paranoid check which was marked as unneeded for a while already
Sergey Sharybin [Fri, 18 Oct 2013 23:41:11 +0000 (23:41 +0000)]
Remove paranoid check which was marked as unneeded for a while already

8 years agoMove utility functions from mball to mathutils
Sergey Sharybin [Fri, 18 Oct 2013 23:38:51 +0000 (23:38 +0000)]
Move utility functions from mball to mathutils

8 years agoFix #37134: cycles viewport not displaying correct with multi GPU render
Brecht Van Lommel [Fri, 18 Oct 2013 20:11:07 +0000 (20:11 +0000)]
Fix #37134: cycles viewport not displaying correct with multi GPU render
and graphics card that does not support CUDA OpenGL interop.

8 years agoID blocks can be pasted to text editor now with mouse drag and move
Sergey Sharybin [Fri, 18 Oct 2013 17:35:20 +0000 (17:35 +0000)]
ID blocks can be pasted to text editor now with mouse drag and move

8 years agoMake strict compiler flags happy
Sergey Sharybin [Fri, 18 Oct 2013 15:30:38 +0000 (15:30 +0000)]
Make strict compiler flags happy

8 years agoFix cycles hair segments not giving correct vector speed pass, the motion vector
Brecht Van Lommel [Fri, 18 Oct 2013 15:03:18 +0000 (15:03 +0000)]
Fix cycles hair segments not giving correct vector speed pass, the motion vector
export was not implemented yet for this primitive.

8 years agoTweak for action group -> bone select feature
Joshua Leung [Fri, 18 Oct 2013 14:15:08 +0000 (14:15 +0000)]
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

8 years agoAdd debug prints to the PSD loader in imbuf. The error message can be obtained from...
Irie Shinsuke [Fri, 18 Oct 2013 10:43:54 +0000 (10:43 +0000)]
Add debug prints to the PSD loader in imbuf.  The error message can be obtained from OIIO by geterror().

8 years agoFix for wrong active render layer after copying hr scene
Sergey Sharybin [Fri, 18 Oct 2013 09:45:21 +0000 (09:45 +0000)]
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.

8 years agoPampa Project request: FPS in sequencer editor
Sergey Sharybin [Thu, 17 Oct 2013 21:17:33 +0000 (21:17 +0000)]
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.

8 years agoFix #37110, After deletion of large scene, file still huge.
Lukas Toenne [Thu, 17 Oct 2013 20:18:48 +0000 (20:18 +0000)]
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).

8 years agoPatch [#37115] Surface split and separate operators
Kevin Mackay [Thu, 17 Oct 2013 19:57:14 +0000 (19:57 +0000)]
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

8 years agoMissing ParticleSystem->parent pointer check in BKE_object_unlink.
Lukas Toenne [Thu, 17 Oct 2013 19:31:59 +0000 (19:31 +0000)]
Missing ParticleSystem->parent pointer check in BKE_object_unlink.

8 years agoFix #37048: Default keybindings: text.find_next in Text (Global), should be in Text...
Sergey Sharybin [Thu, 17 Oct 2013 18:49:09 +0000 (18:49 +0000)]
Fix #37048: Default keybindings: text.find_next in Text (Global), should be in Text Generic

8 years agoFix #37123: UV editor view does not update when using large faces
Sergey Sharybin [Thu, 17 Oct 2013 18:29:01 +0000 (18:29 +0000)]
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.

8 years agoFix cycles mesh synchronization being too slow with vector blur and duplis.
Brecht Van Lommel [Thu, 17 Oct 2013 16:05:57 +0000 (16:05 +0000)]
Fix cycles mesh synchronization being too slow with vector blur and duplis.

8 years agoFix crash in scenes without camera markers, after recent fix for #37097,
Brecht Van Lommel [Thu, 17 Oct 2013 15:51:12 +0000 (15:51 +0000)]
Fix crash in scenes without camera markers, after recent fix for #37097,
first_camera variable was used uninitialized.

8 years agoFix for GCC bing stupid and not casting float*[3] to const float*[3] without a wanring :S
Sergey Sharybin [Thu, 17 Oct 2013 14:44:23 +0000 (14:44 +0000)]
Fix for GCC bing stupid and not casting float*[3] to const float*[3] without a wanring :S

8 years agoProject Pampa Request: Selecting groups in animation editors selects
Joshua Leung [Thu, 17 Oct 2013 14:19:03 +0000 (14:19 +0000)]
Project Pampa Request: Selecting groups in animation editors selects
corresponding bones

8 years agoFix #37097: Setting scene frame does not update active camera
Sergey Sharybin [Thu, 17 Oct 2013 14:10:03 +0000 (14:10 +0000)]
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.

8 years agoFix #37109: missing cycles texture display in edit mode.
Brecht Van Lommel [Thu, 17 Oct 2013 14:04:10 +0000 (14:04 +0000)]
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.

8 years agoFix #37122: Text Editor: New Open-Shortcut different from Text > Open Text Block
Sergey Sharybin [Thu, 17 Oct 2013 12:53:37 +0000 (12:53 +0000)]
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.

8 years agoFix #37117: MCE prefetching fails with non-ascii characters in path
Sergey Sharybin [Thu, 17 Oct 2013 12:28:32 +0000 (12:28 +0000)]
Fix #37117: MCE prefetching fails with non-ascii characters in path

8 years agoFix #37091: Reset to default of Sky Texture's Dot freezes it at 0,0,0
Sergey Sharybin [Thu, 17 Oct 2013 10:50:54 +0000 (10:50 +0000)]
Fix #37091: Reset to default of Sky Texture's Dot freezes it at 0,0,0

8 years agoFix #37106: Hair Length vanishes when Advanced is enabled
Sergey Sharybin [Thu, 17 Oct 2013 10:42:47 +0000 (10:42 +0000)]
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.

8 years agoadd local _PyLong_AsInt() needed for python older then 3.3.2
Campbell Barton [Thu, 17 Oct 2013 09:58:36 +0000 (09:58 +0000)]
add local _PyLong_AsInt() needed for python older then 3.3.2