blender.git
6 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.

6 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.

6 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.

6 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

6 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]).

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

6 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!

6 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.

6 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.

6 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.

6 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.

6 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.

6 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.

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

6 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.

6 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.

6 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

6 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.

6 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

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

6 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

6 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.

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

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

6 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).

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

6 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.

6 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.

6 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!

6 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! :)

6 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...

6 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.

6 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).

6 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 :)

6 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

6 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.

6 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.

6 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.

6 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

6 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.

https://projects.blender.org/tracker/?func=detail&aid=34178&group_id=9&atid=127

6 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 -

6 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 :/ ).

6 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)... :/

6 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...

6 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.

6 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

6 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

6 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.

6 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

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

6 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.

6 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

6 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().

6 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.

6 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.

6 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).

6 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

6 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.

6 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

6 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.

6 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.

6 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.

6 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

6 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

6 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.

6 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.

6 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.

6 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

6 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

6 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.

6 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

6 years agoFix #37118: MCEr: Prefetch frames doesn't respect input color space
Sergey Sharybin [Thu, 17 Oct 2013 09:44:08 +0000 (09:44 +0000)]
Fix #37118: MCEr: Prefetch frames doesn't respect input color space

6 years agoFix #37119: MCE: Prefetching doesn't fetch last frame of an image-sequence.
Sergey Sharybin [Thu, 17 Oct 2013 09:19:03 +0000 (09:19 +0000)]
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.

6 years agoi18n utils: check not only that the number of printf markers are the same in msgid...
Bastien Montagne [Thu, 17 Oct 2013 06:52:26 +0000 (06:52 +0000)]
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.

6 years agoFix build failure with VS2012 + SCons, caused by redefinition of the bool type.
Irie Shinsuke [Thu, 17 Oct 2013 06:40:35 +0000 (06:40 +0000)]
Fix build failure with VS2012 + SCons, caused by redefinition of the bool type.

6 years agoadd typechecks when assigning id-property arrays from python (overflows and errors...
Campbell Barton [Thu, 17 Oct 2013 03:18:21 +0000 (03:18 +0000)]
add typechecks when assigning id-property arrays from python (overflows and errors weren't detected)
reduce/simplify exceptions more.

6 years agosimplify & improve error handling for id-property python-api.
Campbell Barton [Thu, 17 Oct 2013 02:57:59 +0000 (02:57 +0000)]
simplify & improve error handling for id-property python-api.

6 years agofix [#37105] Long int IDproperties produces errors at weird spots.
Campbell Barton [Thu, 17 Oct 2013 02:36:33 +0000 (02:36 +0000)]
fix [#37105] Long int IDproperties produces errors at weird spots.

6 years agopatch [#37114] copypaste for NORMAL buttons (BUT_NORMAL)
Campbell Barton [Wed, 16 Oct 2013 23:42:44 +0000 (23:42 +0000)]
patch [#37114] copypaste for NORMAL buttons (BUT_NORMAL)
from Philipp Oeser (lichtwerk)

6 years agocorrect BM_edge_face_pair() being called inside BLI_assert() - this needed to run...
Campbell Barton [Wed, 16 Oct 2013 22:07:16 +0000 (22:07 +0000)]
correct BM_edge_face_pair() being called inside BLI_assert() - this needed to run every time.
also other minor changes.

6 years agoTriangulate modifier - beauty option is back
Dalai Felinto [Wed, 16 Oct 2013 17:58:00 +0000 (17:58 +0000)]
Triangulate modifier - beauty option is back

Patch reviewed and with collaborations from Campbell Barton

6 years agoBGE: Fix to allow render options such display framerate and profile to work
Mitchell Stokes [Wed, 16 Oct 2013 17:54:12 +0000 (17:54 +0000)]
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.

6 years agoProject Pampa request: copy-paste for curve mapping widgets
Sergey Sharybin [Wed, 16 Oct 2013 17:48:33 +0000 (17:48 +0000)]
Project Pampa request: copy-paste for curve mapping widgets

Use C-c for copy, C-v for paste over the widget.

6 years agoFix #37084, Backdrop not invalidating inside node groups.
Lukas Toenne [Wed, 16 Oct 2013 07:55:52 +0000 (07:55 +0000)]
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.

6 years agoadd IDP_FreeFromGroup(), replaces IDP_RemFromGroup(), IDP_FreeProperty(), MEM_freeN().
Campbell Barton [Wed, 16 Oct 2013 05:29:28 +0000 (05:29 +0000)]
add IDP_FreeFromGroup(), replaces IDP_RemFromGroup(), IDP_FreeProperty(), MEM_freeN().

6 years agofix [#37100] Segfault when I rotate an edge
Campbell Barton [Wed, 16 Oct 2013 05:24:55 +0000 (05:24 +0000)]
fix [#37100] Segfault when I rotate an edge

6 years agostyle cleanup
Campbell Barton [Wed, 16 Oct 2013 04:08:20 +0000 (04:08 +0000)]
style cleanup

6 years agobeautify: passing edge/face flags as arguments
Dalai Felinto [Wed, 16 Oct 2013 03:24:50 +0000 (03:24 +0000)]
beautify: passing edge/face flags as arguments
no functional change, just preparing the ground for the beautify in
triangulate modifier changes.

6 years agosplit operators/bmo_beautify.c into tools/bmesh_beautify.c
Dalai Felinto [Wed, 16 Oct 2013 03:24:38 +0000 (03:24 +0000)]
split operators/bmo_beautify.c into tools/bmesh_beautify.c

This is a proper design if we want to use the beautify routine elsewhere
(e.g., in the triangulate modifier)

6 years agofix [#37013] Mesh > bisect can't fill the cut if it lines up with two or more adjacen...
Campbell Barton [Wed, 16 Oct 2013 03:21:55 +0000 (03:21 +0000)]
fix [#37013] Mesh > bisect can't fill the cut if it lines up with two or more adjacent vertices

6 years agoFix part of #37087, brush curve becomes inverted when using the reset
Antony Riakiotakis [Wed, 16 Oct 2013 01:49:11 +0000 (01:49 +0000)]
Fix part of #37087, brush curve becomes inverted when using the reset
curve button.

From the bug report it also seems that positive slope curve presets are
not always reset correctly. However I haven't seen any place where
positive slope curve presets are used. This will fix the initial brush
problem, however it might be good to investigate further if curve
presets are to be used elsewhere. It looks like the issue is related to
bezier curve calculation.

6 years agoedits to r60777 - move ED_object_hook_reset_do into BKE object (if RNA needs to call...
Campbell Barton [Tue, 15 Oct 2013 20:15:45 +0000 (20:15 +0000)]
edits to r60777 - move ED_object_hook_reset_do into BKE object (if RNA needs to call ED_* functions its a hint they might be better in BKE).

6 years agoadd 'Extrude Region, Vertex Normal' to the extrude menu, equivalent of 'Extrude,...
Campbell Barton [Tue, 15 Oct 2013 18:30:49 +0000 (18:30 +0000)]
add 'Extrude Region, Vertex Normal' to the extrude menu, equivalent of 'Extrude, Escape, Alt+S'

6 years agoFix stubs for player
Jens Verwiebe [Tue, 15 Oct 2013 17:19:02 +0000 (17:19 +0000)]
Fix stubs for player

6 years agoFix #37090: Blender crashes on "Make single user" option
Sergey Sharybin [Tue, 15 Oct 2013 17:11:15 +0000 (17:11 +0000)]
Fix #37090: Blender crashes on "Make single user" option

issue was caused by id->mewid pointing to an invalid memory
after file load.

The rule here: all the tools need to reset it to NULL (or
other value they need) in the beginning.

Currently some tools are doing newid clear in the beginning
and some does it in the end. We need to clean it up so clear
only happens in the beginning.

But ideal we need some kind NewIDContext to make duplication
safe for threading.

6 years ago3D view: textured draw mode now has a Shadeless option in the Shading panel,
Brecht Van Lommel [Tue, 15 Oct 2013 15:56:00 +0000 (15:56 +0000)]
3D view: textured draw mode now has a Shadeless option in the Shading panel,
to draw textures without shading. For Cycles this was not possible yet, and
for Blender Internal you had to move away all lights which was also not ideal.

(Caminandes feature request)

6 years agorenaming "Beautify Fill" to "Beautify Faces"
Dalai Felinto [Tue, 15 Oct 2013 15:34:14 +0000 (15:34 +0000)]
renaming "Beautify Fill" to "Beautify Faces"

changing the ot->name only, not the ot->idname
(to avoid breaking scripts)

The tool requires the selection to be fill previously,
the original name was confusing if we consider we have
"Fill" with the "Beauty" option.

Discussed with Bastien Montagne and Brecht van Lommel.

6 years agoCode cleanup: move function prototype to header file
Sergey Sharybin [Tue, 15 Oct 2013 15:21:44 +0000 (15:21 +0000)]
Code cleanup: move function prototype to header file

6 years agoGet rid of Allow Fallback option
Sergey Sharybin [Tue, 15 Oct 2013 15:21:41 +0000 (15:21 +0000)]
Get rid of Allow Fallback option

It was rather confusing from the user usage point
of view and didn't get so much improvement after
new bundle adjuster was added.

In the future we might want to switch resection
to PPnP algorithm, which could also might be a
nice alternative to fallback option.

6 years agoCode cleanup: move hardcoded structure to a typedef
Sergey Sharybin [Tue, 15 Oct 2013 15:21:33 +0000 (15:21 +0000)]
Code cleanup: move hardcoded structure to a typedef