英文:
i am in shift + tilde how to disable the cross mark which is in the middle of the camera in this mode
问题
如何在Shift + Tilde模式中禁用或移除摄像头中间的十字标志?
在使用Shift + Tilde模式时,我遇到了一个问题,即在摄像头的中心出现了一个十字标志。这个十字标志挡住了我的视线,影响了我的工作。我已经尝试搜索解决方案,但目前还没有成功。
请问是否能提供详细的步骤或代码片段来禁用或移除摄像头视图中的这个十字标志?我正在寻找适用于最常见平台(如Windows、macOS或Linux)的解决方案。
英文:
How to disable or remove the cross mark in the middle of the camera in Shift + Tilde mode?
I am encountering an issue where a cross mark appears in the center of the camera when using the Shift + Tilde mode. This cross mark is obstructing my view and hampering my work. I have tried searching for a solution, but I haven't been successful so far.
Could someone please provide detailed steps or code snippets to disable or remove this cross mark from the camera view? I am looking for a solution that works on the most common platforms, such as Windows, macOS, or Linux.
答案1
得分: 0
根据我对Blender的理解(已经使用了多年,并编写了一些脚本,但对代码的理解有限),你正在寻找的不是一个Python渲染的小工具,而是在C/C++中实际调用的;'drawFlyPixel'函数是在Blender的源代码中编译的。
根据我的理解,Blender的Python API(用于编写附加组件)无法触及C/C++函数。要删除这个C/C++小工具,需要修改Blender的源代码并构建自己的Blender版本。
你可以在以下位置找到它被调用:
第232行:
/* 绘制边框,框出鼠标在飞行模式下可以移动而不旋转视图的安全区域 */
x1 = xoff + 0.45f * fly->width;
y1 = yoff + 0.45f * fly->height;
x2 = xoff + 0.55f * fly->width;
y2 = yoff + 0.55f * fly->height;
亲切的问候,
丹
英文:
from my understanding of Blender (used it for years, and made a few scripts however only a limited understanding of the code) what you are looking for isn't a Python rendered gizmo but actually called forth in c/c++; The 'drawFlyPixel' function is compiled in Blender's source code.
Blender's Python API (used to write add-ons) can't touch the C/C++ functions from my understanding. Removing this c/c++ gizmo would require modifying Blender's source code and building your own Blender version.
You can find it called for in
Line 232:
/* draws 4 edge brackets that frame the safe area where the
* mouse can move during fly mode without spinning the view */
x1 = xoff + 0.45f * fly->width;
y1 = yoff + 0.45f * fly->height;
x2 = xoff + 0.55f * fly->width;
y2 = yoff + 0.55f * fly->height;
Kindly,
Dan
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论