Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-02OpenGL: draw volumetric gpencil with point spritesMike Erwin
Transition away from GLU and legacy matrix stack. Using point sprites eliminated the need for most of the matrix math! Depends on decent support of large aliased points. NVIDIA is good at this, must test limits on AMD & Intel systems. Still needs proper scaling based on view zoom. Part of T49042, touches on T49043 and T49450.
2016-09-30Merge branch 'master' into blender2.8Julian Eisel
Conflicts: source/blender/blenloader/intern/writefile.c
2016-09-29OpenGL: draw nurbs control verts with new imm modeMike Erwin
patch P397 by @lichtwert + minor const by @merwin Notes from drawvertsN function: this used to be called twice (once for selected/active, once for unselected -- guess: to avoid state switches[color]?) this used to be called in a loop, too (subcurves), moved the loop here to avoid multiple init stuff Part of T49043
2016-09-29Cleanup: StyleJulian Eisel
2016-09-29OpenGL: draw speaker with new immediate modeMike Erwin
patch P388 by @lichtwerk, I tweaked a few things. Since speaker theme color is opaque we leave blend mode alone. Part of T49043
2016-09-28Curve pinning: Allow pinning object data without animated objectSergey Sharybin
Special case, so now we can pin tricky cases like animated camera DOF without requiring to have animation on the object level.
2016-09-28POSELIB_OT_pose_add: only create keyframes for selected bones.Sybren A. Stüvel
Previously the pose library used the WholeCharacter key set, which ignores selection and add keys for almost all bones in the rig. This is a very slow operation on complex rigs. With this patch, only selected bones are keyed, defaulting to keying all bones when none are selected. Note that this fixes the FIXME previously mentioned in the source.
2016-09-28Fix missing properties editor update when changing 3D View cameraJulian Eisel
Actually two errors here: * Properties editor wasn't refreshing on (NC_SCENE | ND_RENDER_OPTIONS) notifiers * Was using notifier info bits wrongly, needs to send two separate notifiers Decided to remove ND_RENDER_OPTIONS rather than adding properties editor scene context refresh for it, this is more than a render option change.
2016-09-26Merge branch 'master' into blender2.8Bastien Montagne
WARNING! Full build is broken, alembic has not been merged in correctly and has some references to particle stuff. Don't have time to tackle this now (and probably would be better if someone knowing what he's doing does it anyway). Conflicts: release/scripts/startup/bl_ui/properties_particle.py source/blender/blenkernel/intern/library_remap.c source/blender/blenkernel/intern/smoke.c source/blender/editors/physics/particle_object.c source/blender/editors/physics/physics_intern.h source/blender/editors/physics/physics_ops.c source/blender/editors/space_outliner/outliner_intern.h source/blender/editors/space_view3d/drawvolume.c source/blender/makesrna/intern/rna_smoke.c
2016-09-25Smoke debug draw: take adaptive domain position into account.Kévin Dietrich
Eventually the various functions that deals with adaptive domain bounding box shall de-duplicated.
2016-09-25Viewport smoke: fix a couple of issues in the new display settings.Kévin Dietrich
- WITH_SMOKE macro was not defined so some code was not compiled, though it was still accessible from the UI - some UI elements were disappearing due to bad indentation, also rework the UI code to not hide but rather disable/grey out button in the UI - Display thickness was not used due to bad manual merge of the code from the patch.
2016-09-25Fix compile error when building without smoke support.Kévin Dietrich
Also fixes possible NULL pointer dereference. Fixes T49445.
2016-09-24Viewport smoke: add options to draw velocity vectors.Kévin Dietrich
This basically exposes to the UI a function that was only available through a debug macro ; the purpose is obviously to help debugging simulations. It adds ways to draw the vectors either as colored needles or as arrows showing the direction of the vectors. The colors are based on the magnitude of the underlying vectors. Reviewers: plasmasolutions, gottfried Differential Revision: https://developer.blender.org/D1733
2016-09-24Viewport smoke: add support for axis aligned slicing.Kévin Dietrich
Current approach uses view aligned slicing to generate polygons for GL texturing such that the generated polygons are always facing the view plane. Now it is also possible to use object aligned slicing, which creates polygons by slicing the object perpendicular to whichever axis is facing the most the view plane. It is also possible to create a single slice for inspecting the volume, or for 2D rendering effects. Settings for this, along with a density multiplier setting, are to be found in a newly added "Smoke Display Settings" panel in the smoke domain properties tab. Reviewers: plasmasolutions, gottfried Differential Revision: https://developer.blender.org/D1733
2016-09-24Mesh: added default UVs for Monkey, improved UVs for UV Sphere and Icosphere.Peter Lu
Fixes T47488 and T47478. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2224
2016-09-24Fix T49441: Grease Pencil - pie menu - brush name field crashes blenderJoshua Leung
Using context.active_gpencil_brush to access the active Grease Pencil brush would result in a crash if trying to rename the brush, because the "ID" pointer was not set. To be backported to 2.78
2016-09-23Particles: Prevent crash when copying to an object with subsurf modifierSergey Sharybin
Probably something will be remapped wrongly, but better than crash.
2016-09-23Particle: Add option to duplicate settings together with particle system itselfSergey Sharybin
This way it's possible to copy combed hair, use it as a basis for another particle system to do some awesome artistic stuff.
2016-09-23Particle: Prevent crash duplicating hair on objects with modifiersSergey Sharybin
2016-09-23Outliner: Fix assert failure with palette IDSergey Sharybin
2016-09-23Particles: Add operator to quicly duplicate active particle system to the ↵Sergey Sharybin
same object
2016-09-23Merge branch 'master' into blender2.8Julian Eisel
Conflicts: intern/ghost/intern/GHOST_ContextCGL.mm intern/ghost/intern/GHOST_WindowCocoa.mm source/blender/makesrna/intern/rna_main.c
2016-09-22Clip Editor: Enable Continuous Grab for view panningJulian Eisel
2016-09-22Fix non-finite normalization factor in certain casesSergey Sharybin
2016-09-22Fix T49422: Metadata not showing in OpenGL rendersSergey Sharybin
Own regression since recent optimization.
2016-09-22RNA/UI: Allow displaying in tooltip why RNA property isn't editableJulian Eisel
This commit allows RNA properties to return additional info on their editable state which may then be displayed in tooltips. To show how it works, it also adds some info for the editable check of proxies. For generally un-editable properties or properties of a linked data-block, RNA returns default strings. | {F362785} | {F362786} | {F362787} | Reviewed by brecht, thanks! Differential Revision: https://developer.blender.org/D2243
2016-09-22UI: Theme options for vertex/edge bevel weight colorsPhilipp Oeser
Drawing used colors for select (TH_EDGE_SELECT/TH_VERTEX_SELECT) which was inconsistent with crease, seam, sharp, .. (which all had their own them color -- also was a bit hard to read). NOTE: UI team usually doesn't allow adding more theme options, this is an exception. Differential Revision: https://developer.blender.org/D2234
2016-09-21UI: Make eyedropper shortcut configurableJulian Eisel
It's now possible to change the shortcut for invoking the eyedropper while hovering a button (E by default). Also removed the keymap editor entry for the modal eyedropper keymap, it's now automatically appended to the eyedropper shortcut.
2016-09-21UI: Make button driver and keying set shortcuts configurableJulian Eisel
2016-09-21UI: Configurable shortcuts for keyframe operatorsJulian Eisel
Adds support for editing the shortcuts for inserting (I), deleting (Alt+I) and clearing (Alt+Shift+I) button keyframes.
2016-09-21Fix crash in space context cycling when leaving window boundsJulian Eisel
2016-09-21Make space context cycling a proper screen-level OPJulian Eisel
This is really more of a screen level operation, UI-level is more like button handling etc.
2016-09-21UI: Support UI operators with configurable shortcutsJulian Eisel
After all a super simple solution that allows us to get rid of hardcoded keymap items.
2016-09-21Fix: Grease Pencil sculpting crashes when sculpting on layers without any ↵Joshua Leung
strokes Reported by @loochmunz. I've also gone through checking for and fixing other places where this was also occurring. To be included in 2.78
2016-09-21UI: Fix crash using drag-toggle over window bounds with button callbackJulian Eisel
Steps to reproduce: * Go to modifier context in properties editor * Add modifier, collapse it * Press down LMB over collapse button of modifier, hold it * Drag over pin-icon in properties editor (to keep fixed data-block displayed) * Drag outside of window bounds (should crash) Also could've solved by getting space data from callback arguments instead of context, but this fix is much nicer (though not totally un-risky).
2016-09-20immediate mode refactor: walk navigation crossDalai Felinto
2016-09-20immediate mode refactor: fly navigation squareDalai Felinto
2016-09-20Quiet warning with -Wformat-signednessJulian Eisel
Is actually a redundant cast since Blender uses -funsigned-char, however I think it's fine to be explicit about it in new code so cast is required to make compiler happy. Am not a fan of -funsigned-char anyway...
2016-09-20Fix T49391: Texture paint is not aware of disabled color managementSergey Sharybin
There might be some extra missing points here, but it's all rather a TODO than a real bug and can be tweaked further once issues are actually discovered.
2016-09-20Fix T49408: OpenGL light widget breaks viewport shadingSergey Sharybin
2016-09-19UI Messages: Consistent spelling of term "data-block"Julian Eisel
Was using a bunch of different spellings, mostly "data-block" though, so went with that one (would have been my #1 choice anyway ;) )
2016-09-19Fix T49385: Copy buffer is not from pose mode. Report ErrorSergey Sharybin
Quick fix for now, need to unlock studio here as well. Proper fix would be to modify API a bit and pass flags which will prevent expand called on bmain perhaps. But this we should discuss a bit,
2016-09-19Various cleanups related to button lockingJulian Eisel
* Rename uiBut.lockstr to disabled_info * Remove unreachable code * Replace duplicated check with assert * Replace overly ambitious check with assert * Add comments
2016-09-19Cleanup: Completely replace/remove uiBut.lockJulian Eisel
Old leftover from pre 2.5 days. Now handled through UI_BUT_DISABLED button flag.
2016-09-18Minor corrections for previous commitJulian Eisel
Was using wrong argument name in doxygen comment. Also reduced scope of vars. Sorry for the noise :/
2016-09-18BLI_listbase: Add/use utility to move link (BLI_listbase_link_move)Julian Eisel
We were calling BLI_remlink and then BLI_insertlinkbefore/after quite often. BLI_listbase_link_move simplifies code a bit and makes it easier to follow. It also returns if link position has changed which can be used to avoid unnecessary updates. Added it to a number of list reorder operators for now and made use of return value. Behavior shouldn't be changed. Also some minor cleanup.
2016-09-18GPencil: Don't show error popup when strokes can't be reordered furtherJulian Eisel
Was spawning error popup each time user tried to move a stroke higher or lower than the list allowed. We don't do that anywhere else and it's not really useful info for the user. So rather not bother her.
2016-09-18GPencil: Fix memory leak using stroke arrange OPJulian Eisel
2016-09-17OpenGL: draw_view_axis with new immediate modeMike Erwin
Changed drawing to use smooth lines, and to fade away when axis points toward / away from screen. (transform manipulators do this already) Also fixed a nearby (but unrelated) missing immUnbindProgram. Part of T49043
2016-09-17OpenGL render: Bugfix (unreported) after ↵Thomas Beck
rB6f92604e539b2114763150fb1ace60d28e59a889 Crashes occured immediately when clicking on "OpenGL render image" because there was only a task pool created previously when it was an animation. Solved it by introducing a variable is_animation to the openglrender and omitting the task_pool call when it's no animation. @sergey: Please check my changes, moved the pool_ok and the lock into the is_animation clause.